Open sandboxFocus

Class Formatter<T>

Base implementation of the IFormatter<T> interface.

Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public abstract class Formatter<T> : IFormatter<T>, IOptionAwareFormatter, IFormatter
Type Parameters
Name Description
T

Constructors

Name Description
Formatter()

Properties

Name Description
Attributes

Gets the formatter attributes.

Methods

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

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

Write(UnsafeStringBuilder, T)

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

Extension Methods