A dictionary holding dependent nodes of a Parent node.
More...
Inherits NodeDictionaryBase< TNode >.
|
|
void | UpdateCollection () |
| | Reads out all currently available nodes.
|
| |
|
void | Dispose () |
| | Disposes of this dictionary and all its nodes.
|
| |
| bool | ContainsKey (string key) |
| | Gets whether this dictionaries contains the given key .
|
| |
| bool | Remove (string key) |
| | Removes the node identified by the given key .
|
| |
|
| override void | AddNode (string key, TNode value) |
| | Adds a new node to this dictionary.
|
| |
| override bool | RemoveNode (string key) |
| | Removes a TNode identified by the given key .
|
| |
| virtual void | Dispose (bool disposing) |
| | Dispose implementation.
|
| |
| void | AddNode (string key, TNode value) |
| | Adds a new TNode value associated to the given key .
|
| |
| bool | RemoveNode (string key) |
| | Removes the node at the given key .
|
| |
| TNode | GetNode (string key) |
| | Actual implementation for getting nodes.
|
| |
| bool | TryGetNode (string key, out TNode value) |
| | Tries to get the TNode value with the given key .
|
| |
|
|
Node | Parent [get] |
| | The parent node of this collection.
|
| |
| override bool | IsReadOnly [get] |
| | Gets whether this dictionary is read only.
|
| |
|
bool | IsDisposed [get] |
| | Gets whether this dictionary has been disposed.
|
| |
|
IDictionary< string, TNode > | Nodes = new Dictionary<string, TNode>() [get] |
| | Gets the dictionary holding all node objects.
|
| |
| TNode | this[string key] [get, set] |
| | Indexer of this dictionary to get/add TNode objects.
|
| |
|
int | Count [get] |
| | Gets the number of TNodes in this dictionary.
|
| |
|
bool | IsReadOnly [get] |
| | Gets whether this dictionary is read only.
|
| |
|
ICollection< string > | Keys [get] |
| | Gets the keys for all nodes.
|
| |
|
ICollection< TNode > | Values [get] |
| | Gets all the TNodes in this dictionary.
|
| |
A dictionary holding dependent nodes of a Parent node.
- Template Parameters
-
◆ AddNode()
| override void AddNode |
( |
string | key, |
|
|
TNode | value ) |
|
protected |
Adds a new node to this dictionary.
- Parameters
-
| key | Key identifying the given value . |
| value | Node associated to key . |
◆ RemoveNode()
| override bool RemoveNode |
( |
string | key | ) |
|
|
protected |
Removes a TNode identified by the given key .
- Parameters
-
| key | Key of item to be removed. |
- Returns
true if the key was removed; false if not present.
◆ IsReadOnly