Open sandboxFocus

Class OperationFormatter

Base class for all operation formatters, which provide a human-readable description of operations (Operation).

Inheritance
OperationFormatter
Namespace: PostSharp.Patterns.Recording
Assembly: PostSharp.Patterns.Model.dll
Syntax
public abstract class OperationFormatter
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.

Constructors

Name Description
OperationFormatter(OperationFormatter)

Initializes a new instance of the OperationFormatter class.

Methods

Name Description
FormatOperation(Operation)

Gets a human-readable description of an Operation.

FormatOperationDescriptor(IOperationDescriptor)

Gets a human-readable description of an Operation given its IOperationDescriptor.