PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Formatters Namespace/IFormatter(T) Interface

IFormatter<T> Interface

Appends the description of an object into an UnsafeStringBuilder. Strongly-typed variant of IFormatter.

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.3.11.0 (6.3.11.0)
Syntax
C#
public interface IFormatter<in T> : IFormatter

Type Parameters

T
Type of values that can be formatted.

The IFormatter<T> type exposes the following members.

Properties
  NameDescription
Public propertyAttributes
Gets the formatter attributes.
(Inherited from IFormatter.)
Methods
  NameDescription
Public methodWrite(UnsafeStringBuilder, Object)
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Inherited from IFormatter.)
Public methodWrite(UnsafeStringBuilder, T)
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
See Also