PostSharp / / API Reference / Post­Sharp.​Patterns.​Formatters / Default­Formatter<TRole, TValue>

Class DefaultFormatter<TRole, TValue>

Inheritance
Formatter<TValue>
DefaultFormatter<TRole, TValue>
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public sealed class DefaultFormatter<TRole, TValue> : Formatter<TValue>, IFormatter<TValue>, IOptionAwareFormatter, IFormatter where TRole : FormattingRole, new()
Type Parameters
Name Description
TRole
TValue

Constructors

Name Description
DefaultFormatter()

Properties

Name Description
Attributes
Instance

Methods

Name Description
WithOptions(FormattingOptions)
Write(UnsafeStringBuilder, TValue)