PostSharpAPI ReferencePost­Sharp.​Patterns.​FormattersIFormattable
Open sandboxFocus

IFormattable Interface

Exposes a Format(UnsafeStringBuilder, FormattingRole) method, which allows an object to format itself into an UnsafeStringBuilder. Logging and caching components rely on the IFormattable interface.

Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public interface IFormattable

Methods

Name Description
Format(UnsafeStringBuilder, FormattingRole)

Appends a description of the current object to a given UnsafeStringBuilder.