IFormatter<T> Interface |
Appends the description of an object into an UnsafeStringBuilder. Strongly-typed variant of IFormatter.
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 IFormatter<in T> : IFormatter
Type Parameters
- T
- Type of values that can be formatted.
The IFormatter<T> type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Gets the formatter attributes.
(Inherited from IFormatter.) |
Name | Description | |
---|---|---|
Write(UnsafeStringBuilder, Object) |
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Inherited from IFormatter.) | |
Write(UnsafeStringBuilder, T) |
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
|
Name | Description | |
---|---|---|
WithOptions(FormattingOptions) | Overloaded.
Returns a copy of the current formatter, but for different options.
(Defined by FormatterExtensions.) | |
WithOptions<T>(FormattingOptions) | Overloaded.
Returns a copy of the current formatter, but for different options.
(Defined by FormatterExtensions.) |