PostSharp6.2/API Reference/Post­Sharp.​Patterns.​Recording.​Operations Namespace/IOperation­Descriptor Interface

IOperationDescriptor Interface

Encapsulates information that allow implementations of the OperationFormatter class to provide a human-readable description of an Operation.

Namespace:  PostSharp.Patterns.Recording.Operations
Assembly:  PostSharp.Patterns.Model (in PostSharp.Patterns.Model.dll) Version: 6.2.13.0 (6.2.13.0)
Syntax
C#
public interface IOperationDescriptor

The IOperationDescriptor type exposes the following members.

Properties
  NameDescription
Public propertyOperationKind
Gets the kind of operation.
Remarks

If you implement your own OperationFormatter, you can also implement your own IOperationDescriptor and assign it to the OperationDescriptor property of the RecordingScope returned by OpenScope(RecordingScopeOption).

See Also