PostSharp 2023.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Formatters Namespace / Default­Formatter(TRole, TValue) Class / Default­Formatter(TRole, TValue) Methods / Default­Formatter(TRole, TValue).​Write Method / Default­Formatter(TRole, TValue).​Write Method (Unsafe­String­Builder, TValue)

DefaultFormatter<TRole, TValue>.Write Method (UnsafeStringBuilder, TValue)

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

Namespace:  PostSharp.Patterns.Formatters
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
Syntax
C#
public override void Write(
	UnsafeStringBuilder stringBuilder,
	TValue value
)

Parameters

stringBuilder
Type: PostSharp.Patterns.Formatters.UnsafeStringBuilder
The target UnsafeStringBuilder.
value
Type: TValue
The value to be formatted.

Implements

IFormatter<T>.Write(UnsafeStringBuilder, T)
See Also