Options that influence the formatting of an object by an IOptionAwareFormatter.
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public class FormattingOptionsRemarks
This class can be extended by implementations of custom back ends.
It is essential for performance that the implementation respects a semi-singleton pattern, that is, keeps a single instance for each distinct value.
Constructors
| Name | Description |
|---|---|
| FormattingOptions(FormattingOptions) | Initializes a new instance of the FormattingOptions class by copying all values from another FormattingOptions. |
Properties
| Name | Description |
|---|---|
| Default | Gets the default FormattingOptions. |
| RequiresUnquotedStrings | Gets a value indicating whether the formatters should not use quotation when formatting strings. |
| Unquoted | Gets the FormattingOptions indicating that strings should not be quoted. |