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

SetCollectionItemOperation<T> Properties

The SetCollectionItemOperation<T> generic 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.
(Overrides CollectionOperation<T>.NewIndex.)
Public propertyNewItem
Gets the item before the operation.
(Overrides CollectionOperation<T>.NewItem.)
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.)
See Also