A set of items where all operations are undoable.
Inheritance Hierarchy
Node
UndoableNodeBase
UndoableNode
UndoableCollectionNode
Spotfire.Dxp.Framework.DocumentModelUndoableSetT
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 65.0.19510.3242 (65.0.19510.3242)
Syntax
C#
[SerializableAttribute] public sealed class UndoableSet<T> : UndoableCollectionNode, IEnumerable<T>, IEnumerable, ICollection<T>
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.
Properties
Name | Description | |
---|---|---|
Count |
Gets the number of items contained in this set.
| |
IsReadOnly |
Gets a value indicating whether this set is read-only.
|
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.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerableGetEnumerator |
Returns an enumerator that iterates through the items in this set.
|
Remarks
Version Information
Supported in: 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also