PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​FormattersFormatter<T>Write
Open sandboxFocus

Formatter<T>.Write Method

Write(UnsafeStringBuilder, Object)

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

Declaration
public void Write(UnsafeStringBuilder stringBuilder, object value)
Parameters
Type Name Description
UnsafeStringBuilder stringBuilder

The target UnsafeStringBuilder.

Object value

The value to be formatted.

Implements
IFormatter.Write(UnsafeStringBuilder, Object)

Write(UnsafeStringBuilder, T)

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

Declaration
public abstract void Write(UnsafeStringBuilder stringBuilder, T value)
Parameters
Type Name Description
UnsafeStringBuilder stringBuilder

The target UnsafeStringBuilder.

T value

The value to be formatted.

Implements
IFormatter<T>.Write(UnsafeStringBuilder, T)