Class CSharpEnumValue
- Namespace
- NanoByte.CodeGeneration
- Assembly
- NanoByte.CodeGeneration.dll
A possible value for a CSharpEnum.
public class CSharpEnumValue
- Inheritance
-
CSharpEnumValue
- Inherited Members
Constructors
CSharpEnumValue(string)
A possible value for a CSharpEnum.
public CSharpEnumValue(string name)
Parameters
name
stringThe name of the enum value.
Properties
Attributes
Attributes to apply to the enum value.
public List<CSharpAttribute> Attributes { get; }
Property Value
Name
The name of the enum value.
public string Name { get; }
Property Value
Summary
A summary used for an XML documentation comment.
public string? Summary { get; set; }
Property Value
Methods
ToString()
Returns the name of the enum value.
public override string ToString()