C# Class NClass.CSharp.CSharpEnum

Inheritance: NClass.Core.EnumType
显示文件 Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method Description
AddValue ( string declaration ) : EnumValue
Clone ( ) : EnumType
GetDeclaration ( ) : string
ModifyValue ( EnumValue value, string declaration ) : EnumValue

Private Methods

Method Description
CSharpEnum ( ) : System
CSharpEnum ( string name ) : System

Method Details

AddValue() public method

/// The name does not fit to the syntax. /// /// The name is a reserved name. ///
public AddValue ( string declaration ) : EnumValue
declaration string
return EnumValue

Clone() public method

public Clone ( ) : EnumType
return NClass.Core.EnumType

GetDeclaration() public method

public GetDeclaration ( ) : string
return string

ModifyValue() public method

/// The name does not fit to the syntax. /// /// The name is a reserved name. ///
public ModifyValue ( EnumValue value, string declaration ) : EnumValue
value EnumValue
declaration string
return EnumValue