PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording.​Operations Namespace / ICollection­Operation Interface

ICollectionOperation Interface

Weakly-typed interface for the CollectionOperation<T> class.

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 2023.0.3.0 (2023.0.3.0)
public interface ICollectionOperation : IOperationDescriptor

The ICollectionOperation type exposes the following members.

Public propertyCollection
Gets the collection on which the operation was performed.
Public propertyNewIndex
Gets the index after the operation.
Public propertyNewItem
Gets the item after the operation.
Public propertyOldIndex
Gets the index before the operation.
Public propertyOldItem
Gets the item before the operation.
Public propertyOperationKind
Gets the kind of operation.
(Inherited from IOperationDescriptor.)
See Also