Method | Description | |
---|---|---|
AddLiteral ( string name, object value ) : void |
Adds a literal to the enum (an entry)
|
|
Create ( ) : |
Creates the enum
|
|
EnumBuilder ( Assembly assembly, string name, |
Constructor
|
|
ToString ( ) : string |
Enum definition as a string
|
public AddLiteral ( string name, object value ) : void | ||
name | string | name of the entry |
value | object | Value associated with it |
return | void |
public EnumBuilder ( Assembly assembly, string name, |
||
assembly | Assembly | Assembly builder |
name | string | name of the enum |
enumType | Type for the enum | |
attributes | TypeAttributes | Attributes for the enum (public, private, etc.) |
return | System |