|
// Copyright Christophe Bertrand.
using System;
namespace UniversalSerializerLib3
{
/// <summary>
/// Order UniversalSerializerLib to serialize this field or property, not taking into account other attributes.
/// It is optional.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class ForceSerializeAttribute : Attribute
{
}
/// <summary>
/// Order UniversalSerializerLib to never serialize this field or property, not taking into account other attributes.
/// It is optional.
/// </summary>
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
public class ForceNotSerializeAttribute : Attribute
{
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
Hi !
I made my first program on a Sinclair ZX-81.
Since that day, I have the virus of computers.
Here is my website:
https://chrisbertrand.net
And my blog:
https://chrisbertrandprogramer.wordpress.com/