Collection of (child) nodes.
More...
Inherits ICollection< TNode >, and IDisposable.
|
void | Dispose () |
| Dispose of this collection.
|
|
void | UpdateCollection () |
| Reads out all currently available nodes.
|
|
void | Add (TNode item) |
| Adds a Node item to this collection. More...
|
|
void | Clear () |
| Clears this collection. More...
|
|
bool | Contains (TNode item) |
| Gets whether the given Node item is in this collection. More...
|
|
void | CopyTo (TNode[] array, int arrayIndex) |
| Copies this collection to the given array starting at the given arrayIndex . More...
|
|
IEnumerator< TNode > | GetEnumerator () |
| Gets the enumerator for the Nodes of this collection. More...
|
|
bool | Remove (TNode item) |
| Remove a single Node item from this collection. More...
|
|
|
bool | IsDisposed [get] |
| Gets whether this collection has been disposed.
|
|
Node | Parent [get] |
| The parent node of this collection.
|
|
List< TNode > | Nodes = new List<TNode>() [get] |
| The list storing all the nodes.
|
|
GevServerLib.NodeList | Kind [get] |
| Gets what kind of collection this is.
|
|
int | Count [get] |
| Gets the number of nodes in this collection.
|
|
bool | IsReadOnly [get] |
| Gets whether this collection is read only. More...
|
|
Collection of (child) nodes.
- Template Parameters
-
◆ NodeCollection()
Creates the collection from the given parent Node and the child list kind .
- Parameters
-
parent | Parent of this collection. |
kind | Kind of nodes to extract. |
◆ Add()
Adds a Node item to this collection.
- Parameters
-
◆ Clear()
Clears this collection.
Also disposes of all inline EnumEntryNodes.
◆ Contains()
bool Contains |
( |
TNode |
item | ) |
|
Gets whether the given Node item is in this collection.
- Parameters
-
item | Node object to be found. |
- Returns
true
if item is inside this collection; false
if not.
◆ CopyTo()
void CopyTo |
( |
TNode[] |
array, |
|
|
int |
arrayIndex |
|
) |
| |
Copies this collection to the given array starting at the given arrayIndex .
- Parameters
-
array | Array to copy to. |
arrayIndex | Start index in the given array . |
◆ Dispose()
virtual void Dispose |
( |
bool |
disposing | ) |
|
|
protectedvirtual |
Dispose implementation.
- Parameters
-
disposing | true if called from IDisposable.Dispose; false if called from finalizer. |
◆ GetEnumerator()
IEnumerator< TNode > GetEnumerator |
( |
| ) |
|
Gets the enumerator for the Nodes of this collection.
- Returns
- New enumerator object.
◆ Remove()
bool Remove |
( |
TNode |
item | ) |
|
Remove a single Node item from this collection.
- Parameters
-
item | Node object to remove. |
- Returns
true
if item was removed; false
if not in this collection.
◆ IsReadOnly