PostSharpAPI ReferencePost­Sharp.​Patterns.​Recording.​OperationsRemove­Collection­Range­Operation<T>
Open sandboxFocus

RemoveCollectionRangeOperation<T> Class

Represents a RemoveRange(Int32, Int32) operation.

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

Type of collection items.

Properties

Name Description
OldIndex

Gets the index before the operation.

OldItems

Gets the items that were in the collection before the operation.

OperationKind

Gets the kind of operation.

Methods

Name Description
Redo(ReplayContext)

Redo the current operation.

Undo(ReplayContext)

Undo the current operation.