Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Recording.​Operations Namespace / Composite­Operation Class

CompositeOperation Class

Represents an Operation composed of other sub-operations.
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Recording.Operation
    PostSharp.Patterns.Recording.Operations.CompositeOperation

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 5.0.38.0 (5.0.38.0)
Syntax
C#
public sealed class CompositeOperation : Operation

The CompositeOperation type exposes the following members.

Properties
  NameDescription
Public propertyName
Gets the operation name.
(Inherited from Operation.)
Public propertyOperationDescriptor
Gets the IOperationDescriptor, which is used by the OperationFormatter to produce a human-readable description of the current operation.
(Overrides Operation.OperationDescriptor.)
Public propertyOperationKind
Gets the kind of operation.
(Overrides Operation.OperationKind.)
Methods
  NameDescription
Public methodVisitAffectedObjects
Executes a given action on all recordable objects involved with the current Operation.
(Overrides Operation.VisitAffectedObjects(Action<Object>).)
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Remarks

The OperationDescriptor is typically not identical to the CompositeOperation itself.

See Also