PostSharp4.3//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.SetOperation<T>
      PostSharp.Patterns.Recording.Operations.ClearSetOperation<T>

Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.48.0 (4.3.48.0)
Syntax
C#
public sealed class ClearSetOperation<T> : SetOperation<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 SetOperation<T>.)
Public propertyOldItem
Gets the item after the operation.
(Inherited from SetOperation<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 SetOperation<T>.)
Methods
  NameDescription
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Inherited from SetOperation<T>.)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also