MetalamaAPI documentationFlashtrace APIFlashtrace.​FormattersFormatter<T>Format
Open sandboxFocus

Formatter<T>.Format Method

Format(UnsafeStringBuilder, Object)

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

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

The target UnsafeStringBuilder.

Object value

The value to be formatted.

Implements
IFormatter.Format(UnsafeStringBuilder, Object)

Format(UnsafeStringBuilder, T)

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

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

The target UnsafeStringBuilder.

T value

The value to be formatted.

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