IOptionAwareFormatter Interface |
An interface that implementations of IFormattable can optionally implement to support options.
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 IOptionAwareFormatter : IFormatter
The IOptionAwareFormatter type exposes the following members.
Name | Description | |
---|---|---|
Attributes |
Gets the formatter attributes.
(Inherited from IFormatter.) |
Name | Description | |
---|---|---|
WithOptions |
Returns a copy of the current formatter, but for different options.
| |
Write |
Appends the description of an object into given UnsafeStringBuilder (weakly-typed variant).
(Inherited from IFormatter.) |
Name | Description | |
---|---|---|
WithOptions |
Returns a copy of the current formatter, but for different options.
(Defined by FormatterExtensions.) |