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
Post a Comment