C# Class NClass.Core.EnumType

Inheritance: TypeBase
Mostrar archivo Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method Description
AddValue ( string declaration ) : EnumValue
Clone ( ) : EnumType
GetValue ( int index ) : EnumValue
ModifyValue ( EnumValue value, string declaration ) : EnumValue
MoveDownItem ( object item ) : bool
MoveUpItem ( object item ) : bool
RemoveValue ( EnumValue value ) : void

Protected Methods

Method Description
AddValue ( EnumValue newValue ) : void
ChangeValue ( EnumValue oldValue, EnumValue newValue ) : bool
CopyFrom ( TypeBase type ) : void
Deserialize ( XmlElement node ) : void
EnumType ( string name ) : System
Serialize ( XmlElement node ) : void

Method Details

AddValue() public abstract method

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

AddValue() protected method

/// The name is a reserved name. ///
protected AddValue ( EnumValue newValue ) : void
newValue EnumValue
return void

ChangeValue() protected method

/// The new name is a reserved name. ///
protected ChangeValue ( EnumValue oldValue, EnumValue newValue ) : bool
oldValue EnumValue
newValue EnumValue
return bool

Clone() public abstract method

public abstract Clone ( ) : EnumType
return EnumType

CopyFrom() protected method

protected CopyFrom ( TypeBase type ) : void
type TypeBase
return void

Deserialize() protected method

/// An error occured while deserializing. /// /// The XML document is corrupt. /// /// is null. ///
protected Deserialize ( XmlElement node ) : void
node System.Xml.XmlElement
return void

EnumType() protected method

/// The does not fit to the syntax. ///
protected EnumType ( string name ) : System
name string
return System

GetValue() public method

public GetValue ( int index ) : EnumValue
index int
return EnumValue

ModifyValue() public abstract method

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

MoveDownItem() public method

public MoveDownItem ( object item ) : bool
item object
return bool

MoveUpItem() public method

public MoveUpItem ( object item ) : bool
item object
return bool

RemoveValue() public method

public RemoveValue ( EnumValue value ) : void
value EnumValue
return void

Serialize() protected method

/// is null. ///
protected Serialize ( XmlElement node ) : void
node System.Xml.XmlElement
return void