MetalamaAPI documentationFlashtrace APIFlashtrace.​FormattersFormatting­Options
Open sandboxFocus

FormattingOptions Class

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

Inheritance
System.Object
FormattingOptions
Implements
System.IEquatable<FormattingOptions>
Namespace: Flashtrace.Formatters
Assembly: Flashtrace.Formatters.dll
Syntax
public class FormattingOptions : Object
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.

Constructors

Name Description
FormattingOptions(FormattingOptions)

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

FormattingOptions(Boolean)

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

Properties

Name Description
Default

Gets the default FormattingOptions.

EqualityContract
RequiresUnquotedStrings
Unquoted

Gets the FormattingOptions indicating that string should not be quoted.

Methods

Name Description
<Clone>$()
Deconstruct(out Boolean)
Equals(FormattingOptions)
Equals(Object)
GetHashCode()
PrintMembers(StringBuilder)
ToString()

Operators

Name Description
Equality(FormattingOptions, FormattingOptions)
Inequality(FormattingOptions, FormattingOptions)