PostSharp / / API Reference / Post­Sharp.​Patterns.​Recording.​Operations / Clear­Set­Operation<T>
Open sandbox

Class ClearSetOperation<T>

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)
Undo(ReplayContext)