MetalamaAPI documentationFlashtrace APIFlashtrace.​Formatters
Open sandboxFocus

Flashtrace.Formatters Namespace

Classes

Formatter<T>

Base implementation of the IFormatter<T> interface.

FormatterAttributes

Attributes of an IFormatter.

FormatterExtensions

Extension methods for the IFormatter interface.

FormatterNotFoundException

The exception that is thrown when getting an IFormatter from an IFormatterRepository when the formatter for the type is not found.

FormatterRepository

Allows to get and register formatters for a specific type.

FormatterRepository.Builder

FormattingOptions

Options that influence the formatting of an object by an IOptionAwareFormatter.

FormattingRole

Describes a formatting role.

UnsafeStringBuilder

A class similar to System.Text.StringBuilder, but implemented using unsafe C#.

UnsafeStringBuilderPool

A thread-safe pool of UnsafeStringBuilder.

Interfaces

IFormattable<T>

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

IFormatter

Appends the description of an object into an UnsafeStringBuilder. Weakly-typed variant of IFormatter<T>.

IFormatter<T>

Appends the description of an object into an UnsafeStringBuilder. Strongly-typed variant of IFormatter.

IFormatterRepository

Accesses a repository of formatters.

IOptionAwareFormatter

An interface that implementations of System.IFormattable can optionally implement to support options.