PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Recording.​Operations Namespace/Clear­Set­Operation(T) Class

ClearSetOperation<T> Class

Represents the Clear() operation.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Recording.Operation
    PostSharp.Patterns.Recording.Operations.HashSetOperation<T>
      PostSharp.Patterns.Recording.Operations.ClearSetOperation<T>

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public sealed class ClearSetOperation<T> : HashSetOperation<T>

Type Parameters

T
Type of items in the set.

The ClearSetOperation<T> type exposes the following members.

Properties
  NameDescription
Public propertyName
Gets the operation name.
(Inherited from Operation.)
Public propertyNewItem
Gets the item before the operation.
(Inherited from HashSetOperation<T>.)
Public propertyOldItem
Gets the item after the operation.
(Inherited from HashSetOperation<T>.)
Public propertyOldItems
Gets the items that were in the set before it was cleared.
Public propertyOperationDescriptor
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description of the current operation.
(Inherited from Operation.)
Public propertyOperationKind
Gets the kind of operation.
(Overrides Operation.OperationKind.)
Public propertySet
Gets the set on which the operation was performed.
(Inherited from HashSetOperation<T>.)
Methods
  NameDescription
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Inherited from HashSetOperation<T>.)
See Also