This is the online documentation for PostSharp 5.0.
Download PDF or CHM. Go to v4.3 or v5.0

OperationFormatter Class

Base class for all operation formatters, which provide a human-readable description of operations (Operation).
Inheritance Hierarchy
System.Object
  PostSharp.Patterns.Recording.OperationFormatter

Namespace:  PostSharp.Patterns.Recording
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 5.0.33.0 (5.0.33.0)
Syntax
C#
public abstract class OperationFormatter

The OperationFormatter type exposes the following members.

Constructors
  NameDescription
Protected methodOperationFormatter
Initializes a new instance of the OperationFormatter class.
Top
Methods
  NameDescription
Public methodFormatOperation
Gets a human-readable description of an Operation.
Protected methodFormatOperationDescriptor
Gets a human-readable description of an Operation given its IOperationDescriptor.
Top
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Top
Remarks

Instances of the OperationFormatter class form a chain of responsibility. If one instance does not know how to format an Operation, it calls the next instance in the chain.

See Also