Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Formatter(T) Class

Formatter<T> Class

Base implementation of the IFormatter<T> interface.
Inheritance Hierarchy

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 5.0.51.0 (5.0.51.0)
Syntax
C#
public abstract class Formatter<T> : IFormatter<T>, 
	IFormatter

Type Parameters

T

The Formatter<T> type exposes the following members.

Constructors
  NameDescription
Protected methodFormatter<T>
Initializes a new instance of the Formatter<T> class
Properties
  NameDescription
Public propertyAttributes
Methods
  NameDescription
Public methodWrite(UnsafeStringBuilder, Object)
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
Public methodWrite(UnsafeStringBuilder, T)
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
Extension Methods
  NameDescription
Public Extension MethodQueryInterface<T>
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.)
See Also