AddSetItemOperation<T> Class |
Represents a Add(T) operation.
System.Object
PostSharp.Patterns.Recording.Operation
PostSharp.Patterns.Recording.Operations.HashSetOperation<T>
PostSharp.Patterns.Recording.Operations.AddSetItemOperation<T>
PostSharp.Patterns.Recording.Operation
PostSharp.Patterns.Recording.Operations.HashSetOperation<T>
PostSharp.Patterns.Recording.Operations.AddSetItemOperation<T>
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public sealed class AddSetItemOperation<T> : HashSetOperation<T>
Type Parameters
- T
- Type of set items.
The AddSetItemOperation<T> type exposes the following members.
Name | Description | |
---|---|---|
Name |
Gets the operation name.
(Inherited from Operation.) | |
NewItem |
Gets the item before the operation.
(Overrides HashSetOperation<T>.NewItem.) | |
OldItem |
Gets the item after the operation.
(Inherited from HashSetOperation<T>.) | |
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 HashSetOperation<T>.) |
Name | Description | |
---|---|---|
VisitAffectedObjects |
Executes a given action on all recordable objects involved with the current Operation.
(Inherited from HashSetOperation<T>.) |