PostSharpAPI ReferencePost­Sharp.​Patterns.​Recording.​OperationsAdd­Set­Item­Operation<T>
Open sandboxFocus

AddSetItemOperation<T> Class

Represents a Add(T) operation.

Inheritance
AddSetItemOperation<T>
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
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.