An NCalc expression string or a pre-parsed LogicalExpression.
Optionaloptions: EvaluateOptionsEvaluation options: parameters, custom functions, and operator overrides.
The result produced by evaluating the expression.
ParserError If expression is a string that cannot be parsed.
ESCalcError If a runtime error occurs during evaluation (e.g. referencing an unknown parameter, or a type mismatch in an operator).
Parse and evaluate an NCalc expression in a single step.
When
expressionis astringit is first parsed into an AST then evaluated. Passing a pre-parsed LogicalExpression skips the parse step.