Table of Contents

Class EnumCategoryAttribute

Namespace
CMS.Helpers
Assembly
CMS.Helpers.dll

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
object
Attribute
EnumCategoryAttribute
Extension Methods

Constructors

EnumCategoryAttribute(string)

Specifies the category for an enum field.

public EnumCategoryAttribute(string category)

Parameters

category string

Category of the attributed enum field

Properties

Category

Gets the category.

public string Category { get; }

Property Value

string