PostSharpAPI ReferencePost­Sharp.​Patterns.​Recording.​OperationsComposite­Operation
Open sandboxFocus

CompositeOperation Class

Represents an Operation composed of other sub-operations.

Inheritance
CompositeOperation
Namespace: PostSharp.Patterns.Recording.Operations
Assembly: PostSharp.Patterns.Model.dll
Syntax
public sealed class CompositeOperation : Operation, IOperationDescriptor
Remarks

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.