Table of Contents
API reference

Class StringEnumAttribute

Namespace
DisCatSharp.Common.Serialization
Assembly
DisCatSharp.Common.dll

Specifies that this enum should be serialized and deserialized as its string representation.

This is used to change the behaviour of enum serialization.

[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class StringEnumAttribute : SerializationAttribute
Inheritance
StringEnumAttribute
Inherited Members
Extension Methods