A list of T where all operations on the list are undoable.
Inheritance Hierarchy
Node
UndoableNodeBase
UndoableNode
UndoableCollectionNode
Spotfire.Dxp.Framework.DocumentModelUndoableListT
Namespace: Spotfire.Dxp.Framework.DocumentModel
Assembly: Spotfire.Dxp.Framework (in Spotfire.Dxp.Framework.dll) Version: 66.0.19621.1485 (66.0.19621.1485)
Syntax
C#
[SerializableAttribute] public sealed class UndoableList<T> : UndoableCollectionNode, IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable
Type Parameters
- T
The UndoableListT type exposes the following members.
Properties
Name | Description | |
---|---|---|
![]() | Count |
Gets the number of elements contained in the ICollectionT.
|
![]() | Item |
Gets or sets the T at the specified index.
|
Methods
Name | Description | |
---|---|---|
![]() | Add |
Adds an item to the ICollectionT.
|
![]() | AddRange |
Adds the elements of the specified collection to the end of this
UndoableListT.
|
![]() | AsReadOnly |
Returns a read-only IListT collection containing the
elements of this UndoableListT.
|
![]() | Clear |
Removes all items from the ICollectionT.
|
![]() | Contains |
Determines whether the ICollectionT contains a specific value.
|
![]() | CopyTo |
Copies the elements of the ICollectionT to an Array, starting at a particular Array index.
|
![]() | Exists |
Determines whether the List contains elements that match the
conditions defined by the specified predicate.
|
![]() | Find |
Searches for an element that matches the conditions defined
by the specified predicate, and returns the first occurrence within the entire List.
|
![]() | FindAll |
Retrieves all the elements that match the conditions defined by the specified predicate.
|
![]() | GetEnumerator |
Returns an enumerator that iterates through the collection.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | IndexOf |
Determines the index of a specific item in the IListT.
|
![]() | Insert |
Inserts an item to the IListT at the specified index.
|
![]() | InsertRange |
Inserts the elements of the specified collection at the
specified index in this UndoableListT.
|
![]() | Remove |
Removes the first occurrence of a specific object from the ICollectionT.
|
![]() | RemoveAll | Removes the all the elements that match the conditions defined by the specified predicate.
|
![]() | RemoveAt |
Removes the IListT item at the specified index.
|
![]() | RemoveRange |
Remove count elements starting at position
index. If count is zero, no
elements are removed and no event is raised.
|
![]() | ReplaceAll | Replaces the contents of this list with the elements in the
specified collection.
|
![]() | Sort |
Sorts the elements in this UndoableListT using the default comparer.
|
![]() | Sort(IComparerT) |
Sorts the elements in this UndoableListT using the specified comparer.
|
![]() | Sort(ComparisonT) |
Sorts the elements in this UndoableListT using the specified System.Comparison.
|
![]() | Sort(Int32, Int32, IComparerT) |
Sorts the elements in a range of this UndoableListT using the specified comparer.
|
![]() | ToArray | Copies the elements of the list to a new array.
|
![]() | ToCollection |
Returns a new Collection containing the elements of this UndoableListT.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
![]() ![]() | IEnumerableGetEnumerator |
Returns an enumerator that iterates through a collection.
|
![]() ![]() | ICollectionTIsReadOnly |
Gets a value indicating whether the ICollectionT is read-only.
|
Remarks
Version Information
Supported in: 14.4, 14.3, 14.2, 14.1, 14.0, 12.5, 12.4, 12.3, 12.2, 12.1, 12.0, 11.8
See Also