Instruct the encoder/decoder to rename the annotated enum field. If not used the method Enum.GetName(Type, object) will be used instead. More...
Public Member Functions | |
FaunaEnum (string alias) | |
Properties | |
string | Alias [get] |
Alias used to encode/decode the enum value More... | |
Instruct the encoder/decoder to rename the annotated enum field. If not used the method Enum.GetName(Type, object) will be used instead.
enum CpuTypes { [FaunaEnum("x86_32")] X86, [FaunaEnum("x86_64")] X86_64, ARM, MIPS }
Definition at line 198 of file Attributes.cs.
FaunaDB.Types.FaunaEnum.FaunaEnum | ( | string | alias | ) |
Definition at line 205 of file Attributes.cs.
|
get |
Alias used to encode/decode the enum value
Definition at line 203 of file Attributes.cs.