PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording.​Operations Namespace / Remove­Collection­Range­Operation(T) Class

RemoveCollectionRangeOperation<T> Class

Represents a RemoveRange(Int32, Int32) operation.
Inheritance Hierarchy

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 2023.0.3.0 (2023.0.3.0)
public sealed class RemoveCollectionRangeOperation<T> : CollectionOperation<T>

Type Parameters

Type of collection items.

The RemoveCollectionRangeOperation<T> type exposes the following members.

Public propertyCollection
Gets the collection on which the operation was performed.
(Inherited from CollectionOperation<T>.)
Public propertyName
Gets the operation name.
(Inherited from Operation.)
Public propertyNewIndex
Gets the index after the operation.
(Inherited from CollectionOperation<T>.)
Public propertyNewItem
Gets the item before the operation.
(Inherited from CollectionOperation<T>.)
Public propertyOldIndex
Gets the index before the operation.
(Overrides CollectionOperation<T>.OldIndex.)
Public propertyOldItem
Gets the item after the operation.
(Inherited from CollectionOperation<T>.)
Public propertyOldItems
Gets the items that were in the collection before the operation.
Public propertyOperationDescriptor
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description of the current operation.
(Inherited from Operation.)
Public propertyOperationKind
Gets the kind of operation.
(Overrides Operation.OperationKind.)
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Inherited from CollectionOperation<T>.)
See Also