示例#1
0
        private static string EvaluateStringFormulas(string formula, DataRuleContext dataRuleContext)
        {
            var formulaParser = new FormulaParser();

            return(formulaParser.Populate(formula, new ValueProviderBridge(dataRuleContext.ValueProvider)));
        }