PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Recording.​Operations Namespace/Remove­Collection­Item­Operation(T) Class

RemoveCollectionItemOperation<T> Class

Represents a Remove(T) operation.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Recording.Operation
    PostSharp.Patterns.Recording.Operations.CollectionOperation<T>
      PostSharp.Patterns.Recording.Operations.RemoveCollectionItemOperation<T>

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public sealed class RemoveCollectionItemOperation<T> : CollectionOperation<T>

Type Parameters

T
Type of collection items.

The RemoveCollectionItemOperation<T> type exposes the following members.

Properties
  NameDescription
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.
(Overrides CollectionOperation<T>.OldItem.)
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.)
Methods
  NameDescription
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Inherited from CollectionOperation<T>.)
See Also