PostSharpAPI ReferencePost­Sharp.​Patterns.​FormattersIOption­Aware­Formatter
Open sandboxFocus

IOptionAwareFormatter Interface

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

Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public interface IOptionAwareFormatter : IFormatter

Methods

Name Description
WithOptions(FormattingOptions)

Returns a copy of the current formatter, but for different options.

Extension Methods

FormatterExtensions.WithOptions(IFormatter, FormattingOptions)