- Artykuły z tagiem serializing enums

Recently I've been coding some WCF methods and I've got a strange exception during WCF message serialization. I needed to send list of enums to the WCF service. There are couple of ways to do that. First solution is using [Flag] attribute to combine several enum values into one variable - but then you need to use powers of 2 for enum values. I couldn't do that because of the requirements and actual big number of that enums stored in current database. It would require writing and applying a lot of scrip...

[EN] Dominik Kopeć (domin8k): Serializing list of enums in .NET

Sztuka programowania 2961 dni, 19 godzin, 27 minut temu 161 źrodło rozwiń


Najaktywniejsi w tym miesiącu