Метод | Описание | |
---|---|---|
Accept ( ICodeElementVisitor visitor ) : void |
Allows an ICodeElementVisitor to process (or visit) this element. See the Gang of Four Visitor design pattern. |
|
AddChild ( ICodeElement childElement ) : void |
Adds a child to this element.
|
|
ClearChildren ( ) : void |
Removes all child elements.
|
|
Clone ( ) : object |
Creates a new object that is a copy of the current instance.
|
|
InsertChild ( int index, ICodeElement childElement ) : void |
Inserts a child element at the specified index.
|
|
RemoveChild ( ICodeElement childElement ) : void |
Removes a child from this element.
|
|
ToString ( ) : string |
Gets the string representation of this object.
|
|
ToString ( string format ) : string |
Gets a string representation of this object using the specified format string.
|
|
this ( string key ) : object |
Gets or sets an extended property.
|
Метод | Описание | |
---|---|---|
CodeElement ( ) : System.Collections.Generic |
Default constructor.
|
|
DoClone ( ) : |
Creates a clone of the instance and assigns any state.
|
public abstract Accept ( ICodeElementVisitor visitor ) : void | ||
visitor | ICodeElementVisitor | Visitor to accept the code element. |
Результат | void |
public AddChild ( ICodeElement childElement ) : void | ||
childElement | ICodeElement | Child to add. |
Результат | void |
protected CodeElement ( ) : System.Collections.Generic | ||
Результат | System.Collections.Generic |
protected abstract DoClone ( ) : |
||
Результат |
public InsertChild ( int index, ICodeElement childElement ) : void | ||
index | int | Index to insert at. |
childElement | ICodeElement | Element to insert. |
Результат | void |
public RemoveChild ( ICodeElement childElement ) : void | ||
childElement | ICodeElement | Child element to remove. |
Результат | void |
public ToString ( string format ) : string | ||
format | string | Code element format string. |
Результат | string |
public this ( string key ) : object | ||
key | string | Extended property name/key. |
Результат | object |