Interface IExpressionFieldEvaluator
An interface that binds the formula logic to expression fields in the grouping engine. A
default implementation of this interface is part of the grouping engine and there is normally
no need to provide your own implementation.
If you want to customize the formula calculation
you need to implement this interface, override the CreateExpressionFieldEvaluator(TableDescriptor)
of the Engine class, and create an instance of your implementation in your overridden method
of CreateExpressionFieldEvaluator.
Assembly: Syncfusion.Grouping.Base.dll
Syntax
public interface IExpressionFieldEvaluator
Methods
Calculates the expression result for the given record.
Declaration
string ComputeFormulaValueAt(string formula, Record position)
Parameters
Type |
Name |
Description |
System.String |
formula |
|
Record |
position |
|
Returns
Parse(String, Boolean)
Parses an expression and returns a pre-compiled expression.
Declaration
string Parse(string text, bool isRecordFilter)
Parameters
Type |
Name |
Description |
System.String |
text |
|
System.Boolean |
isRecordFilter |
|
Returns
Replaces field references with internal tokens.
Declaration
string PutTokensInFormula(string formula)
Parameters
Type |
Name |
Description |
System.String |
formula |
|
Returns