Open sandboxFocus

Class AddSetItemOperation<T>

Represents a Add(T) operation.

Inheritance
AddSetItemOperation<T>
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
[Obsolete("[Recordable] aspect and its components are deprecated and will be removed in a future version.", false)]
public sealed class AddSetItemOperation<T> : HashSetOperation<T>, IHashSetOperation, IOperationDescriptor
Type Parameters
Name Description
T

Type of set items.

Properties

Name Description
NewItem

Gets the item before the operation.

OperationKind

Gets the kind of operation.

Methods

Name Description
Redo(ReplayContext)

Redo the current operation.

Undo(ReplayContext)

Undo the current operation.