MoveCollectionItemOperation<T> Class |
Represents a Move(Int32, Int32) operation.
System.Object
PostSharp.Patterns.Recording.Operation
PostSharp.Patterns.Recording.Operations.CollectionOperation<T>
PostSharp.Patterns.Recording.Operations.MoveCollectionItemOperation<T>
PostSharp.Patterns.Recording.Operation
PostSharp.Patterns.Recording.Operations.CollectionOperation<T>
PostSharp.Patterns.Recording.Operations.MoveCollectionItemOperation<T>
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class MoveCollectionItemOperation<T> : CollectionOperation<T>
Type Parameters
- T
- Type of collection items.
The MoveCollectionItemOperation<T> type exposes the following members.
Name | Description | |
---|---|---|
Collection |
Gets the collection on which the operation was performed.
(Inherited from CollectionOperation<T>.) | |
Name |
Gets the operation name.
(Inherited from Operation.) | |
NewIndex |
Gets the index after the operation.
(Overrides CollectionOperation<T>.NewIndex.) | |
NewItem |
Gets the item before the operation.
(Inherited from CollectionOperation<T>.) | |
OldIndex |
Gets the index before the operation.
(Overrides CollectionOperation<T>.OldIndex.) | |
OldItem |
Gets the item after the operation.
(Overrides CollectionOperation<T>.OldItem.) | |
OperationDescriptor |
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description
of the current operation.
(Inherited from Operation.) | |
OperationKind |
Gets the kind of operation.
(Overrides Operation.OperationKind.) |
Name | Description | |
---|---|---|
VisitAffectedObjects |
Executes a given action on all recordable objects involved with the current Operation.
(Inherited from CollectionOperation<T>.) |