SetOperation<T> Class |
Base class for operations on an AdvisableHashSet<T>.

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

C#
public abstract class SetOperation<T> : Operation, ISetOperation, IOperationDescriptor
Type Parameters
- T
- Type of items in set.
The SetOperation<T> type exposes the following members.

Name | Description | |
---|---|---|
![]() | Name |
Gets the operation name.
(Inherited from Operation.) |
![]() | NewItem |
Gets the item before the operation.
|
![]() | OldItem |
Gets the item after the operation.
|
![]() | 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.
(Inherited from Operation.) |
![]() | Set |
Gets the set on which the operation was performed.
|

Name | Description | |
---|---|---|
![]() | GetMergeStatus | (Inherited from Operation.) |
![]() | Merge | (Inherited from Operation.) |
![]() | Redo |
Redo the current operation.
(Inherited from Operation.) |
![]() | Undo |
Undo the current operation.
(Inherited from Operation.) |
![]() | VisitAffectedObjects |
Executes a given action on all recordable objects involved with the current Operation.
(Overrides Operation.VisitAffectedObjects(Action<Object>).) |

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