PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Default­Formatter(TRole, TValue) Class / Default­Formatter(TRole, TValue) Methods

DefaultFormatter<TRole, TValue> Methods

The DefaultFormatter<TRole, TValue> generic type exposes the following members.

Methods
  NameDescription
Public methodWithOptions (Overrides Formatter<T>.WithOptions(FormattingOptions).)
Public methodWrite(UnsafeStringBuilder, TValue)
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Overrides Formatter<T>.Write(UnsafeStringBuilder, Object).)
Public methodWrite(UnsafeStringBuilder, Object)
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Inherited from Formatter<T>.)
See Also