CSharpFeeds - All your C# feeds in one place.

Wednesday, April 07, 2010

The OnDeserializingAttribute – part II

by luisabreu via LA.NET [EN] on 4/7/2010 8:44:31 AM

Oh well…remember my last post…the happiness of getting everything working out…Well, unfortunately, things stopped working (read: code contract started generating exceptions) when you define more than one invariant. Here’s my initial code: public class Dumb { public String A { get; set; } public String B { get; set; } public Dumb() { Initialize(); } [OnDeserializing] private void DeserializerHelper() { Initialize(); } private void Initializ ...

[ read more ]

Subscribe

New Feed

Product Spotlight

Recently Updated Sources

Legal Note

The content of the postings is owned by the respective author. CSharpFeeds is not responsible for the contents of the postings. This site is automatically generated and cannot be reviewed for abusive content. If you find abusive content on CSharpFeeds, please contact us. Designated trademarks and brands are the property of their respective owners. All rights reserved.

Advertise with us