Class AddCollectionItemOperation<T>
Represents a Add(T) or Insert(Int32, T) operation.
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
public sealed class AddCollectionItemOperation<T> : CollectionOperation<T>, ICollectionOperation, IOperationDescriptor
Type Parameters
Name | Description |
---|---|
T | Type of collection items. |
Properties
Name | Description |
---|---|
NewIndex | Gets the index after the operation. |
NewItem | Gets the item before the operation. |
OperationKind | Gets the kind of operation. |
Methods
Name | Description |
---|---|
Redo(ReplayContext) | |
Undo(ReplayContext) |