ClearSetOperation<T> Class |
Represents the Clear() operation.

System.Object
PostSharp.Patterns.Recording.Operation
PostSharp.Patterns.Recording.Operations.SetOperation<T>
PostSharp.Patterns.Recording.Operations.ClearSetOperation<T>
Namespace: PostSharp.Patterns.Recording.OperationsPostSharp.Patterns.Recording.Operation
PostSharp.Patterns.Recording.Operations.SetOperation<T>
PostSharp.Patterns.Recording.Operations.ClearSetOperation<T>
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 4.3.48.0 (4.3.48.0)

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.

Name | Description | |
---|---|---|
![]() | Name |
Gets the operation name.
(Inherited from Operation.) |
![]() | NewItem |
Gets the item before the operation.
(Inherited from SetOperation<T>.) |
![]() | OldItem |
Gets the item after the operation.
(Inherited from SetOperation<T>.) |
![]() | OldItems |
Gets the items that were in the set before it was cleared.
|
![]() | OperationDescriptor |
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description
of the current operation.
(Inherited from Operation.) |
![]() | OperationKind |
Gets the kind of operation.
(Overrides Operation.OperationKind.) |
![]() | Set |
Gets the set on which the operation was performed.
(Inherited from SetOperation<T>.) |

Name | Description | |
---|---|---|
![]() | VisitAffectedObjects |
Executes a given action on all recordable objects involved with the current Operation.
(Inherited from SetOperation<T>.) |

Name | Description | |
---|---|---|
![]() | QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
