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

ClearSetOperation<T> Class

Represents the Clear() operation.

Inheritance
ClearSetOperation<T>
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
public sealed class ClearSetOperation<T> : HashSetOperation<T>, IHashSetOperation, IOperationDescriptor
Type Parameters
Name Description
T

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)

Redo the current operation.

Undo(ReplayContext)

Undo the current operation.