Base class for all GevServer node dictionaries.
Inheritance Hierarchy
Stemmer.Cvb.GevServerNodeDictionaryBaseTNode
Stemmer.Cvb.GevServerNodeDictionaryTNode
Stemmer.Cvb.GevServerNodeMap
Namespace: Stemmer.Cvb.GevServer
Assembly: Stemmer.Cvb.GevServer (in Stemmer.Cvb.GevServer.dll) Version: 14.0.0.0
Syntax
public abstract class NodeDictionaryBase<TNode> : IDictionary<string, TNode>, ICollection<KeyValuePair<string, TNode>>, IEnumerable<KeyValuePair<string, TNode>>, IEnumerable, IDisposable where TNode : Node
Type Parameters
- TNode
The NodeDictionaryBaseTNode type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| NodeDictionaryBaseTNode | Initializes a new instance of the NodeDictionaryBaseTNode class |
Properties
| Name | Description | |
|---|---|---|
| Count |
Gets the number of TNodes in this dictionary.
| |
| IsDisposed |
Gets whether this dictionary has been disposed.
| |
| IsReadOnly |
Gets whether this dictionary is read only.
| |
| Item |
Indexer of this dictionary to get/add TNode objects.
| |
| Keys |
Gets the keys for all nodes.
| |
| Nodes |
Gets the dictionary holding all node objects.
| |
| Values |
Gets all the TNodes in this dictionary.
|
Methods
| Name | Description | |
|---|---|---|
| AddNode |
Adds a new TNodevalue associated to the
given key.
| |
| ContainsKey |
Gets whether this dictionaries contains the given key.
| |
| Dispose |
Disposes of this dictionary and all its nodes.
| |
| Dispose(Boolean) |
Dispose implementation.
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Finalizer
(Overrides ObjectFinalize.) | |
| GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetNode |
Actual implementation for getting nodes.
| |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Remove |
Removes the node identified by the given key.
| |
| RemoveNode |
Removes the node at the given key.
| |
| ToString | Returns a string that represents the current object. (Inherited from Object.) | |
| TryGetNode |
Tries to get the TNodevalue with the given
key.
|
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
| ICollectionKeyValuePairString, TNodeAdd | Adds an item to the ICollectionT. | |
| IDictionaryString, TNodeAdd | Adds an element with the provided key and value to the IDictionaryTKey, TValue. | |
| ICollectionKeyValuePairString, TNodeClear | Removes all items from the ICollectionT. | |
| ICollectionKeyValuePairString, TNodeContains | Determines whether the ICollectionT contains a specific value. | |
| ICollectionKeyValuePairString, TNodeCopyTo | ||
| IEnumerableKeyValuePairString, TNodeGetEnumerator | Returns an enumerator that iterates through the collection. | |
| IEnumerableGetEnumerator | Returns an enumerator that iterates through a collection. | |
| ICollectionKeyValuePairString, TNodeRemove | Removes the first occurrence of a specific object from the ICollectionT. | |
| IDictionaryString, TNodeTryGetValue | Gets the value associated with the specified key. |
See Also