PostSharp6.3/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: 6.3.11.0 (6.3.11.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.
Remarks
Types derived from this type are not meant to have members or instances, they're used only as markers.
See Also