Class EnumCategoryAttribute
Allows to differentiate enum's members to categories.
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
[Obsolete("Method was not intended for public use and will be removed in the next version.")]
[ObsoleteSince(29, 6)]
public class EnumCategoryAttribute : Attribute
- Inheritance
-
objectAttributeEnumCategoryAttribute
- Extension Methods
Constructors
EnumCategoryAttribute(string)
Specifies the category for an enum field.
public EnumCategoryAttribute(string category)
Parameters
category
stringCategory of the attributed enum field
Properties
Category
Gets the category.
public string Category { get; }
Property Value
- string