PostSharp5.0/API Reference/Post­Sharp.​Patterns.​Formatters Namespace/Formatting­Role Class

FormattingRole Class

Base for kind marker types for FormatterRepository<TRole>.
Inheritance Hierarchy

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.55.0 (5.0.55.0)
Syntax
C#
public abstract class FormattingRole

The FormattingRole type exposes the following members.

Constructors
  NameDescription
Protected methodFormattingRole
Initializes a new FormattingRole.
Properties
  NameDescription
Public propertyLoggingRole
Gets the logging role name (see LoggingRoles).
Public propertyName
Gets the name of the FormattingRole.
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
Remarks
Types derived from this type are not meant to have members or instances, they're used only as markers.
See Also