-
-
Notifications
You must be signed in to change notification settings - Fork 105
v2 SmartSettings
axunonb edited this page Feb 6, 2022
·
1 revision
SmartSettings
contain the following properties:
-
ConvertCharacterStringLiterals
- see description in chapter Character Literals in Format Strings -
FormatErrorAction
: 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).
- Syntax, Terminology
- Placeholders and Nesting
- string.Format Compatibility
- Character Literals in Format Strings
- HTML With CSS or JavaScript
- Data Source Extensions
- Default _ DefaultFormatter
- Lists _ ListFormatter
- Choose _ ChooseFormatter
- Condition _ ConditionalFormatter
- Null _ NullFormatter
- SubString _ SubStringFormatter
- RegEx _ IsMatchFormatter
- Pluralization _ PluralLocalizationFormatter
- Localization _ LocalizationFormatter
- Templates _ TemplateFormatter
- TimeSpan _ TimeFormatter
- XML _ XElementFormatter
- Extension Methods
- Home
- Common Pitfalls
- HTML with CSS or JavaScript
- Overview
- Main Features
- Formatters
- Extra Features
- Console and StringBuilder
- TemplateFormatter
- SmartSettings to control Smart.Format behavior
- Additional Info
- License