v2 SmartSettings - axuno/SmartFormat GitHub Wiki
SmartSettings
contain the following properties:
ConvertCharacterStringLiterals
- see description in chapter Character Literals in Format StringsFormatErrorAction
: The way to control how the formatter should deal with errors. It let's you maintain the tokens, ignore, throw an exception or write the error to the output string. The propertyErrorAction
of classSmartFormatter
is depreciated.ParseErrorAction
: The way to control how the parser should deal with errors. It let's you maintain the tokens, ignore, throw an exception or write the error to the output string. The propertyErrorAction
of classParser
is depreciated.CaseSensitivity
: Determines whether placeholders are case-sensitive or not.
SmartSettings
are accessible in all parsing and formatting classes. SmartSettings
have the scope for each SmartFormatter
instance (meaning they are not static).