C# Class NClass.Core.CompositeType

Inheritance: TypeBase
Show file Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method Description
AddConstructor ( ) : Constructor
AddDestructor ( ) : Destructor
AddEvent ( ) : Event
AddField ( ) : Field
AddMethod ( ) : Method
AddProperty ( ) : Property
GetDefinedOperation ( Operation operation ) : Operation
GetField ( int index ) : Field
GetOperation ( int index ) : Operation
InsertMember ( MemberType type, int index ) : void
MoveDownItem ( object item ) : bool
MoveUpItem ( object item ) : bool
RemoveMember ( Member member ) : void
SortMembers ( SortingMode sortingMode ) : void

Protected Methods

Method Description
AddField ( Field field ) : void
AddOperation ( Operation operation ) : void
CompositeType ( string name ) : System
CopyFrom ( TypeBase type ) : void
Deserialize ( XmlElement node ) : void
Serialize ( XmlElement node ) : void

Private Methods

Method Description
AddNestedChild ( TypeBase type ) : void
GetMemberOrdinal ( Member member ) : int
GetOperation ( string type ) : Operation
MemberComparisonByAccess ( Member member1, Member member2 ) : int
MemberComparisonByKind ( Member member1, Member member2 ) : int
MemberComparisonByName ( Member member1, Member member2 ) : int
RemoveNestedChild ( TypeBase type ) : void

Method Details

AddConstructor() public abstract method

/// The type does not support constructors. ///
public abstract AddConstructor ( ) : Constructor
return Constructor

AddDestructor() public abstract method

/// The type does not support destructors. ///
public abstract AddDestructor ( ) : Destructor
return Destructor

AddEvent() public abstract method

/// The type does not support events. ///
public abstract AddEvent ( ) : Event
return Event

AddField() public abstract method

/// The type does not support fields. ///
public abstract AddField ( ) : Field
return Field

AddField() protected method

protected AddField ( Field field ) : void
field Field
return void

AddMethod() public abstract method

/// The type does not support methods. ///
public abstract AddMethod ( ) : Method
return Method

AddOperation() protected method

protected AddOperation ( Operation operation ) : void
operation Operation
return void

AddProperty() public abstract method

/// The type does not support properties. ///
public abstract AddProperty ( ) : Property
return Property

CompositeType() protected method

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

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

GetDefinedOperation() public method

public GetDefinedOperation ( Operation operation ) : Operation
operation Operation
return Operation

GetField() public method

public GetField ( int index ) : Field
index int
return Field

GetOperation() public method

public GetOperation ( int index ) : Operation
index int
return Operation

InsertMember() public method

/// The type does not support the given kind of member. ///
public InsertMember ( MemberType type, int index ) : void
type MemberType
index int
return void

MoveDownItem() public final method

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

MoveUpItem() public final method

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

RemoveMember() public method

public RemoveMember ( Member member ) : void
member Member
return void

Serialize() protected method

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

SortMembers() public method

public SortMembers ( SortingMode sortingMode ) : void
sortingMode SortingMode
return void