Class NcNameAttribute
Attribute used to define a name for NC flags and other enumeration fields.
[AttributeUsage(AttributeTargets.Field)]
public class NcNameAttribute : Attribute
- Inheritance
-
NcNameAttribute
- Inherited Members
- Extension Methods
Constructors
NcNameAttribute(string)
Initializes a new instance of the NcNameAttribute class.
public NcNameAttribute(string name)
Parameters
name
stringThe name to associate with the enum field
Properties
Name
Gets or sets the name associated with the enum field.
public string Name { get; set; }