Recently, I was tricked by Roslyn, today by Json.NET. My bloody luck ;) Let's look at the following two very simple classes. Class A has one readonly property and I had to define a special constructor to allow Json.NET to set this property. B is also simple. It has one property, this time of type A with some default value...
Strona głównaSztuka programowania
Sztuka programowania 2674 dni, 19 godzin, 25 minut temu 108 pokaż kod licznika zwiń