Represents an Operation composed of other sub-operations.
Implements
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
[Obsolete("[Recordable] aspect and its components are deprecated and will be removed in a future version.", false)]
public sealed class CompositeOperation : Operation, IOperationDescriptorRemarks
The OperationDescriptor is typically not identical to the CompositeOperation itself.
Properties
| Name | Description |
|---|---|
| OperationDescriptor | Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description of the current operation. |
| OperationKind | Gets the kind of operation. |
Methods
| Name | Description |
|---|---|
| Redo(ReplayContext) | Redo the current operation. |
| Undo(ReplayContext) | Undo the current operation. |
| VisitAffectedObjects(Action<object>) | Executes a given action on all recordable objects involved with the current Operation. |