sealed class
|
EnumTypeBuilder
|
implements
|
IBuilder<EnumType>
|
Finishes the build process and returns the resulting object.
[OwnerReturn, OwnerThis]
|
||||
public
method
|
Build
()
|
|||
type
|
EnumType
|
|||
returns
|
The resulting object. | |||
implements
|
IBuilder.Build
|
public
method
|
CodeGen
()
|
||
type
|
EnumTypeBuilder
|
Adds the default enumeration item.
public
method
|
DefaultItem
(string name,
string tag = null)
|
||
type
|
EnumTypeBuilder
|
||
params
|
name
|
[not-empty]
|
The item name. |
tag
|
Optional string tag to use for conversion to Str. | ||
returns
|
|
this |
public
method
|
Has
(string name)
|
||
type
|
bool
|
||
params
|
name
|
Adds an enumeration item.
public
method
|
Item
(string name,
string tag = null)
|
||
type
|
EnumTypeBuilder
|
||
params
|
name
|
[not-empty]
|
The item name. |
tag
|
Optional string tag to use for conversion to Str. | ||
returns
|
|
this |
public
method
|
Sort
(bool defaultFirst = false)
|
||
type
|
EnumTypeBuilder
|
||
params
|
defaultFirst
|