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 . More...
|
|
bool | Remove (string key) |
| Removes the node identified by the given key . More...
|
|
|
override void | AddNode (string key, TNode value) |
| Adds a new node to this dictionary. More...
|
|
override bool | RemoveNode (string key) |
| Removes a TNode identified by the given key . More...
|
|
virtual void | Dispose (bool disposing) |
| Dispose implementation. More...
|
|
abstract void | AddNode (string key, TNode value) |
| Adds a new TNode value associated to the given key . More...
|
|
abstract bool | RemoveNode (string key) |
| Removes the node at the given key . More...
|
|
TNode | GetNode (string key) |
| Actual implementation for getting nodes. More...
|
|
bool | TryGetNode (string key, out TNode value) |
| Tries to get the TNode value with the given key . More...
|
|
|
Node | Parent [get] |
| The parent node of this collection.
|
|
override bool | IsReadOnly [get] |
| Gets whether this dictionary is read only. More...
|
|
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. More...
|
|
int | Count [get] |
| Gets the number of TNodes in this dictionary.
|
|
abstract 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 |
|
) |
| |
|
protectedvirtual |
◆ RemoveNode()
override bool RemoveNode |
( |
string |
key | ) |
|
|
protectedvirtual |
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.
Implements NodeDictionaryBase< TNode >.
◆ IsReadOnly