A set of items where all operations are undoable.
Inheritance Hierarchy
Spotfire.Dxp.Framework.DocumentModelNode
Spotfire.Dxp.Framework.DocumentModelUndoableNodeBase
UndoableNode
UndoableCollectionNode
Spotfire.Dxp.Framework.DocumentModelUndoableSetT
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 30.0.11525.4184 (30.0.11525.4184)
Syntax
C#
[SerializableAttribute] public sealed class UndoableSet<T> : UndoableCollectionNode, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
- T
- The type of the items in the set. May be a class that derives from DocumentNode or any other immutable type such as int or string.
The UndoableSetT type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add |
Adds the specified item to this set. If the item already exists, nothing happens.
| |
Clear |
Removes all items from this set.
| |
Contains |
Determines whether this set contains the specified item.
| |
CopyTo |
Copies the items of this set to the specified Array, starting at the specified index.
| |
GetEnumerator |
Returns an enumerator that iterates through the items in this set.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Remove |
Removes the specified item from this set, returning true if this set contained the item.
| |
ReplaceAll | Replaces the contents of this instance with the elements in the
specified collection.
|
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of items contained in this set.
| |
IsReadOnly |
Gets a value indicating whether this set is read-only.
|
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerableGetEnumerator |
Returns an enumerator that iterates through the items in this set.
| |
IServiceProviderGetService |
Implements IServiceProvider.
(Inherited from Node.) |
Remarks
Version Information
See Also