Open sandboxFocus

Class MoveCollectionItemOperation<T>

Represents a Move(int, int) operation.

Inheritance
MoveCollectionItemOperation<T>
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
public sealed class MoveCollectionItemOperation<T> : CollectionOperation<T>, ICollectionOperation, IOperationDescriptor
Type Parameters
Name Description
T

Type of collection items.

Properties

Name Description
NewIndex

Gets the index after the operation.

OldIndex

Gets the index before the operation.

OldItem

Gets the item after the operation.

OperationKind

Gets the kind of operation.

Methods

Name Description
Redo(ReplayContext)

Redo the current operation.

Undo(ReplayContext)

Undo the current operation.