Open sandboxFocus

Class ClearSetOperation<T>

Represents the Clear() operation.

Inheritance
ClearSetOperation<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 ClearSetOperation<T> : HashSetOperation<T>, IHashSetOperation, IOperationDescriptor
Type Parameters
Name Description
T

The type of items in the set.

Properties

Name Description
OldItems

Gets the items that were in the set before it was cleared.

OperationKind

Gets the kind of operation.

Methods

Name Description
Redo(ReplayContext)

Redoes the current operation.

Undo(ReplayContext)

Undoes the current operation.