The ExpressionEngine type exposes the following members.
| Name | Description | |
|---|---|---|
| CheckSyntax |
Performs parsing (syntax check) for all expressions (including ternary) stored in the engine. Provides a detailed information about error in case of failure
| |
| CheckSyntax(String) |
Performs parsing (syntax check) for passed expression. Provides a detailed information about error in case of failure
| |
| Clean |
Removes all expressions and parameters from its collections and removes compiled code from the memory.
| |
| CleanExpressions |
Removes compiled code from the memory. Parameters and expressions are not removed and becomes available for editing.
| |
| Compile |
Compiles all defined expressions, if parsing passed
| |
| Execute(String) |
Performs a calculation of previously compiled formula by its name
| |
| Execute(String, Dictionary String, Double ) |
Performs a calculation of previously compiled formula by its name using passed values.
| |
| ExecuteAll |
Performs a calculation for all stored formulas
| |
| ExecuteAll(Dictionary String, Double ) |
Performs a calculation for all stored formulas using passed values.
| |
| ExecuteExpressions |
Performs a calculation for all stored expressions (ternary expressions are not included)
| |
| ExecuteExpressions(Dictionary String, Double ) |
Performs a calculation for all stored expressions (ternary expressions are not included) using passed values.
| |
| ExecuteTernaryExpressions |
Performs a calculation for all stored ternary expressions
| |
| ExecuteTernaryExpressions(Dictionary String, Double ) |
Performs a calculation for all stored ternary expressions using passed values.
| |
| ExpressionAdd |
Add a single expression to the storage. Only 3 expressions should be added for free version.
Passed formula is not checked for correct syntax. | |
| ExpressionEdit |
Edit a formula of the expression
Passed formula is not checked for correct syntax. | |
| ExpressionEditName |
Renames expression. All dependent expressions will be updated.
| |
| ExpressionExists |
Check if passed expression name stored within the collection
| |
| ExpressionRemove |
Removes passed expression from the collection.
If the expression is used within any another expression, error will be raised on parsing only. | |
| FindCircularReferences |
Find all expressions and ternary expressions that points to themselves directly or via intermediate expression.
| |
| GetExpression |
Retrieve an expression by its name
| |
| GetParameterValue |
Retrieve currently stored parameter value by its name
| |
| GetTernaryExpression |
Retrieve an ternary expression structure by its name
| |
| ParameterAdd |
Add a single parameter to the storage. Only 3 parameters should be added for free version.
| |
| ParameterEdit |
Renames parameter. All dependent expressions will be updated.
| |
| ParameterExists |
Check if passed parameter name stored within the collection
| |
| ParameterRemove |
Removes passed parameter from the collection.
If the parameter is used within any expression, error will be raised on parsing only. | |
| SetParameterValue(Dictionary String, Double ) |
Assign new values to all parameters passed in the list
| |
| SetParameterValue(String, Double) |
Assigned new value to passed parameter name
| |
| TernaryExpressionAdd |
Add a single ternary expression to the storage. Only 3 ternary expressions should be added for free version.
Passed formula is not checked for correct syntax. Ternary expression will be composed in the followed way: ifLeft compareType ifRight THEN thenExpression ELSE elseExpression Or, in ternary way ifLeft compareType ifRight ? thenExpression : elseExpression | |
| TernaryExpressionEdit |
Edit a formula of the ternary expression
Passed formula is not checked for correct syntax. Ternary expression will be composed in the followed way: ifLeft compareType ifRight THEN thenExpression ELSE elseExpression Or, in ternary way ifLeft compareType ifRight ? thenExpression : elseExpression | |
| TernaryExpressionEditName |
Renames ternary expression. All dependent expressions will be updated.
| |
| TernaryExpressionExists |
Check if passed ternary expression name stored within the collection
| |
| TernaryExpressionRemove |
Removes passed ternary expression from the collection.
If the expression is used within any another expression, error will be raised on parsing only. |