NamespaceSystemLibrary.Common.Net.Attributes
Decorate Enum Key with a value
Remarks
The string extension Json() will try matching a value in a json-string to the EnumValue specified first, and fall back to normal behavior if no match
The string extension Json() will output the EnumValue if specified, when converting a class to json-string
EnumValueAttribute
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)] public class EnumValueAttribute : Attribute
Inheritance
System.Object
System.Attribute
EnumValueAttribute
Constructors
Fields
Field Value
Type | Description |
---|---|
System.Object |
Extension Methods
}