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 (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public interface IFormattable
The IFormattable type exposes the following members.
Name | Description | |
---|---|---|
Format |
Appends a description of the current object to a given UnsafeStringBuilder.
|