Open sandboxFocus

Constructor FormattingOptions

FormattingOptions(bool)

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

Declaration
public FormattingOptions(bool RequiresUnquotedStrings)
Parameters
Type Name Description
bool RequiresUnquotedStrings
Remarks

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.

FormattingOptions(FormattingOptions)

Initializes a new instance of the FormattingOptions class by copying all values from another FormattingOptions.

Declaration
public FormattingOptions(FormattingOptions prototype)
Parameters
Type Name Description
FormattingOptions prototype

The FormattingOptions instance whose values have to be copied.