PostSharp//API Reference/Post­Sharp.​Patterns.​Formatters/IFormattable
Open sandboxFocus

Interface IFormattable

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
public interface IFormattable


Name Description
Format(UnsafeStringBuilder, FormattingRole)

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