NamespaceSystemLibrary.Common.Framework
Decorate the 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
Constructors
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
Fields
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
Field Value
Type | Description |
---|---|
object |
Extension Methods
}