Base class for operations on an AdvisableCollection<T>.
Inheritance
CollectionOperation<T>
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
public abstract class CollectionOperation<T> : Operation, ICollectionOperation, IOperationDescriptor
Type Parameters
Name | Description |
---|---|
T | Type of collection items. |
Properties
Name | Description |
---|---|
Collection | Gets the collection on which the operation was performed. |
NewIndex | Gets the index after the operation. |
NewItem | Gets the item before the operation. |
OldIndex | Gets the index before the operation. |
OldItem | Gets the item after the operation. |
Methods
Name | Description |
---|---|
VisitAffectedObjects(Action<object>) | Executes a given action on all recordable objects involved with the current Operation. |