C# Class NClass.Core.CompositeType

Inheritance: TypeBase
Afficher le fichier Open project: gbaychev/NClass Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode 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

Méthode 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 méthode

/// The type does not support constructors. ///
public abstract AddConstructor ( ) : Constructor
Résultat Constructor

AddDestructor() public abstract méthode

/// The type does not support destructors. ///
public abstract AddDestructor ( ) : Destructor
Résultat Destructor

AddEvent() public abstract méthode

/// The type does not support events. ///
public abstract AddEvent ( ) : Event
Résultat Event

AddField() public abstract méthode

/// The type does not support fields. ///
public abstract AddField ( ) : Field
Résultat Field

AddField() protected méthode

protected AddField ( Field field ) : void
field Field
Résultat void

AddMethod() public abstract méthode

/// The type does not support methods. ///
public abstract AddMethod ( ) : Method
Résultat Method

AddOperation() protected méthode

protected AddOperation ( Operation operation ) : void
operation Operation
Résultat void

AddProperty() public abstract méthode

/// The type does not support properties. ///
public abstract AddProperty ( ) : Property
Résultat Property

CompositeType() protected méthode

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

CopyFrom() protected méthode

protected CopyFrom ( TypeBase type ) : void
type TypeBase
Résultat void

Deserialize() protected méthode

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

GetDefinedOperation() public méthode

public GetDefinedOperation ( Operation operation ) : Operation
operation Operation
Résultat Operation

GetField() public méthode

public GetField ( int index ) : Field
index int
Résultat Field

GetOperation() public méthode

public GetOperation ( int index ) : Operation
index int
Résultat Operation

InsertMember() public méthode

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

MoveDownItem() public final méthode

public final MoveDownItem ( object item ) : bool
item object
Résultat bool

MoveUpItem() public final méthode

public final MoveUpItem ( object item ) : bool
item object
Résultat bool

RemoveMember() public méthode

public RemoveMember ( Member member ) : void
member Member
Résultat void

Serialize() protected méthode

/// is null. ///
protected Serialize ( XmlElement node ) : void
node System.Xml.XmlElement
Résultat void

SortMembers() public méthode

public SortMembers ( SortingMode sortingMode ) : void
sortingMode SortingMode
Résultat void