EnumLabelAttribute

  • Namespace: Turian
  • Source File: EnumLabelAttribute.cs

Overrides the label an enum member draws as, in a dropdown built by reflection. Without it, the member's own name is humanized instead — which is wrong for a name that is not English at all, such as a language's own endonym.

Properties

Label

(string) = label: The label to draw for this member.