PostSharp.Patterns.Formatters Namespace |
Class | Description | |
---|---|---|
Formatter<T> |
Base implementation of the IFormatter<T> interface.
| |
FormatterRepository<TRole> |
Allows to get and register formatters for a specific type.
| |
FormattingRole |
Base for kind marker types for FormatterRepository<TRole>.
| |
UnsafeString |
A generalized representation of a string that can be either 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.
|
Interface | Description | |
---|---|---|
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.
|
Enumeration | Description | |
---|---|---|
FormatterAttributes |
Attributes of an IFormatter.
|