Classes
AnonymousTypeFormatter<TKind>
The formatter used for anonymous types by default.
BooleanFormatter
A formatter for bool values.
ByteFormatter
A formatter for byte values.
CharFormatter
A formatter for char values.
DefaultFormatter<TRole, TValue>
The default formatter that formats objects by calling ToString().
EnumFormatter
Efficient formatter for enums.
EnumFormatter<T>
Efficient formatter for enums.
FormatterExtensions
Extension methods for the IFormatter interface.
FormatterRepository<TRole>
Allows getting and registering formatters for a specific type.
Formatter<T>
Base implementation of the IFormatter<T> interface.
FormattingOptions
Options that influence the formatting of an object by an IOptionAwareFormatter.
FormattingRole
Base class for the role marker types of FormatterRepository<TRole>.
Int16Formatter
An efficient formatter for short values.
Int32Formatter
An efficient formatter for int values.
Int64Formatter
An efficient formatter for long values.
MethodFormatter
A formatter for MethodBase values.
SByteFormatter
An efficient formatter for sbyte values.
StringFormatter
A formatter for string values.
TypeFormatter
A Formatter<T> for Type values.
UInt16Formatter
A formatter for ushort values.
UInt32Formatter
A formatter for uint values.
UInt64Formatter
A formatter for ulong values.
UnsafeString
A generalized representation of a string that can be backed by a system string,
a char[], or an UnsafeStringBuilder. Conversions between these types happen transparently
and are cached.
UnsafeStringBuilder
A class similar to StringBuilder, but implemented using unsafe C#.
UnsafeStringBuilderPool
A thread-safe pool of UnsafeStringBuilder.
Structs
CharSpan
Represents a span of char by encapsulating a substring or a range of a char array.
Interfaces
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.
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.
IOptionAwareFormatter
An interface that implementations of IFormattable can optionally implement to support options.
Enums
FormatterAttributes
Attributes of an IFormatter.