PostSharpAPI ReferencePost­Sharp.​Patterns.​FormattersIFormatter
Open sandboxFocus

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.dll
Syntax
public interface IFormatter

Properties

Name Description
Attributes

Gets the formatter attributes.

Methods

Name Description
Write(UnsafeStringBuilder, Object)

Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).

Extension Methods

FormatterExtensions.WithOptions(IFormatter, FormattingOptions)