Quick Tip – Using the ShouldSerializeXXX methods(blogs.microsoft.co.il)
submitted by
gilf(2139) 2 years, 8 months ago
Something that I encountered last week. The ShouldSerialize methods are optional methods that you can provide for a class property. These methods are built as ShouldSerializePropertyName and inside of them you can provide a check that will determine whether the property should be serialized or not. Of course this can be achieved only in serializable classes.
|category: C#
|Views: 4
tags:
C# another
Everyones tags:
Your Tags: