Open sandboxFocus

Namespace Flashtrace.Formatters

Classes

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

Formatter<T>

Base implementation of the IFormatter<T> interface.

FormattingOptions

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

FormattingRole

Describes a formatting role.

UnsafeStringBuilder

A class similar to 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 IFormattable interface.

IFormatter

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

IFormatterRepository

Accesses a repository of formatters.

IFormatter<T>

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

IOptionAwareFormatter

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

Enums

FormatterAttributes

Attributes of an IFormatter.