how does wcf deserialization instantiate objects but job constructor?


there incantation going wcf deserialization. does instantiate an instance information agreement form but job the constructor?



for example, cruise information contract:



[datacontract]
public closed category createme
{
[datamember] private readonly twine _name;
[datamember] private readonly int _age;
private readonly bool _wasconstructorcalled;

open createme()
{
_wasconstructorcalled = true;
}

// ... members here
}


when receiving an instance vigilant around datacontractserializer domain _wasconstructorcalled false.



so, does wcf this? technique others too, dark divided us?



Comments

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members