C# 클래스 NClass.Core.EnumType

상속: TypeBase
파일 보기 프로젝트 열기: gbaychev/NClass 1 사용 예제들

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
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

메소드 상세

AddValue() 공개 추상적인 메소드

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

AddValue() 보호된 메소드

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

ChangeValue() 보호된 메소드

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

Clone() 공개 추상적인 메소드

public abstract Clone ( ) : EnumType
리턴 EnumType

CopyFrom() 보호된 메소드

protected CopyFrom ( TypeBase type ) : void
type TypeBase
리턴 void

Deserialize() 보호된 메소드

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

EnumType() 보호된 메소드

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

GetValue() 공개 메소드

public GetValue ( int index ) : EnumValue
index int
리턴 EnumValue

ModifyValue() 공개 추상적인 메소드

/// 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
리턴 EnumValue

MoveDownItem() 공개 메소드

public MoveDownItem ( object item ) : bool
item object
리턴 bool

MoveUpItem() 공개 메소드

public MoveUpItem ( object item ) : bool
item object
리턴 bool

RemoveValue() 공개 메소드

public RemoveValue ( EnumValue value ) : void
value EnumValue
리턴 void

Serialize() 보호된 메소드

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