Method | Description | |
---|---|---|
Add ( |
Add a new element to the collection. If there is already a element with the same name in the collection it will be overridden
|
|
Clear ( ) : void |
Removes all items from the collection
|
|
IndexOf ( |
Returns the position of the specific ServerElement
|
|
Remove ( |
Remove a element from the collection
|
|
Remove ( string name ) : void |
Remove a item with the specific name
|
|
RemoveAt ( int index ) : void |
Remove a element at the specific position
|
|
this ( int index ) : |
Returns the ServerElement at the specific position
|
|
this ( string name ) : |
Returns the ServerElement with the specific name
|
Method | Description | |
---|---|---|
BaseAdd ( |
||
CreateNewElement ( ) : |
Creates a new empty ServerElement (same as using the default constructor)
|
|
CreateNewElement ( string elementName ) : |
||
GetElementKey ( |
Get the key = the name of a item
|
protected BaseAdd ( |
||
element | ||
return | void |
protected CreateNewElement ( ) : |
||
return |
protected CreateNewElement ( string elementName ) : |
||
elementName | string | |
return |
protected GetElementKey ( |
||
element | ||
return | Object |
public IndexOf ( |
||
element | The element whish should be looked up | |
return | int |
public Remove ( |
||
element | The element which should be removed | |
return | void |
public Remove ( string name ) : void | ||
name | string | The name of the item |
return | void |
public RemoveAt ( int index ) : void | ||
index | int | The position of the item |
return | void |
public this ( int index ) : |
||
index | int | The position of the ServerElement in this collection |
return |
public this ( string name ) : |
||
name | string | The name of the ServerElement |
return |