PostSharpAPI ReferencePost­Sharp.​Patterns.​FormattersFormatting­Options
Open sandboxFocus

Class FormattingOptions

Options that influence the formatting of an object by an IOptionAwareFormatter.

Inheritance
FormattingOptions
Namespace: PostSharp.Patterns.Formatters
Assembly: PostSharp.Patterns.Common.dll
Syntax
public class FormattingOptions : Object

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.