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 hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?