A dictionary where all operations are undoable.
Inheritance Hierarchy
Spotfire.Dxp.Framework.DocumentModelNode
Spotfire.Dxp.Framework.DocumentModelUndoableNodeBase
UndoableNode
UndoableCollectionNode
Spotfire.Dxp.Framework.DocumentModelUndoableDictionaryTKey, TValue
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 30.0.10915.3380 (30.0.10915.3380)
Syntax
C#
[SerializableAttribute] [PersistenceVersionAttribute(2, 0)] public sealed class UndoableDictionary<TKey, TValue> : UndoableCollectionNode, IDictionary<TKey, TValue>, ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>, IEnumerable
Type Parameters
- TKey
- TValue
The UndoableDictionaryTKey, TValue type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() | Add(KeyValuePairTKey, TValue) |
Adds an item to the ICollectionT.
|
![]() | Add(TKey, TValue) |
Adds an element with the provided key and value to the IDictionaryTKey, TValue.
|
![]() | Clear |
Removes all items from the ICollectionT.
|
![]() | Contains |
Determines whether the ICollectionT contains a specific value.
|
![]() | ContainsKey |
Determines whether the IDictionaryTKey, TValue contains an element with the specified key.
|
![]() | CopyTo |
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Remove(KeyValuePairTKey, TValue) |
Removes the first occurrence of a specific object from the ICollectionT.
|
![]() | Remove(TKey) |
Removes the element with the specified key from the IDictionaryTKey, TValue.
|
![]() | ReplaceAll | Replaces the contents of this instance with the elements in the
specified collection.
|
![]() | TryGetValue |
Tries to get the value associated with the specified key, returning true upon success.
|
Properties
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of elements contained in the ICollectionT.
|
![]() | IsReadOnly |
Gets a value indicating whether the ICollectionT is read-only.
|
![]() | Item |
Gets or sets the TValue with the specified key.
|
![]() | Keys |
Gets an ICollectionT containing the keys of the IDictionaryTKey, TValue.
|
![]() | Values |
Gets an ICollectionT containing the values in the IDictionaryTKey, TValue.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | IEnumerableGetEnumerator |
Returns an enumerator that iterates through a collection.
|
![]() ![]() | IServiceProviderGetService |
Implements IServiceProvider.
(Inherited from Node.) |
Remarks
Version Information
See Also