开发者

Does the DataContractSerializer call property getters/setters?

I know that on deserialization the DataContractS开发者_如何学Cerializer does not call the constructor. Does it also bypass a public or private property's setter method?


Just tried it out -- The property accessors are not bypassed regardless of visibility (public, private, etc).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜