ParserOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Options for parsing an expression.
public class ParserOptions
type ParserOptions = class
Public Class ParserOptions
- Inheritance
-
ParserOptions
Constructors
| ParserOptions() | |
| ParserOptions(CultureInfo, Boolean, Int32) |
Properties
| AllowsSideEffects |
If true, allow parsing a chaining operator. This is only used for side-effecting operations. |
| Culture |
The culture that an expression will parse with. This primarily determines numeric decimal separator character as well as chaining operator. |
| MaxExpressionLength |
If greater than 0, enforces a maximum length on a single expression. It is an immediate parser error if the expression is too long. |
| NumberIsFloat |
If true, numbers are treated as float. By default, numbers are treated as decimal. |
| TextFirst |
If true, parse starts in text literal mode, with string interpolation islands of ${ ... }. If the starting non-whitespace charatcer is an equal sign ("="), a normal parse is used instead. |