Class EnumerationAttribute<T>
- Namespace
- CapyKit.Attributes
- Assembly
- CapyKit.dll
Custom attribute class for decorating enumeration fields with additional data.
[AttributeUsage(AttributeTargets.Field)]
public abstract class EnumerationAttribute<T> : Attribute
Type Parameters
TGeneric type parameter allowing for arbitrary declarations and assignments of meaning.
- Inheritance
-
EnumerationAttribute<T>
- Derived
- Inherited Members
- Extension Methods
Constructors
EnumerationAttribute(T)
Gets the value of the enumeration represented by this attribute.
protected EnumerationAttribute(T value)
Parameters
valueTInitializes a new instance of the EnumerationAttribute<T> class with a specified value.
Properties
Value
Initializes a new instance of the EnumerationAttribute<T> class with a specified value.
public T Value { get; }
Property Value
- T
The value.