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-end.
It is essential for performance that the implementation respects a semi-singleton pattern, i.e. to keep a single instance of distinct value.
Constructors
| Name | Description |
|---|---|
| FormattingOptions(FormattingOptions) | Initializes a new instance of FormattingOptions 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 string should not be quoted. |