PostSharp 6.10 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / IFormatter Interface

IFormatter Interface

Appends the description of an object into an UnsafeStringBuilder. Weakly-typed variant of IFormatter<T>.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.10.14.0 (6.10.14.0)
Syntax
C#
public interface IFormatter

The IFormatter type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the formatter attributes.
Methods
  NameDescription
Public methodWrite
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
Extension Methods
  NameDescription
Public Extension MethodWithOptions
Returns a copy of the current formatter, but for different options.
(Defined by FormatterExtensions.)
See Also