public Func <object, decimal> BuildArithmeticExpression(string expression) { ArithmeticExpressionQueue block = new ArithmeticExpressionQueue(this); IExpression <decimal> exp = Builder.BuildBlockExpression <decimal>(expression, block); return(new Func <object, decimal>(exp.Evaluate)); }
public Func<object, decimal> BuildArithmeticExpression(string expression) { ArithmeticExpressionQueue block = new ArithmeticExpressionQueue(this); IExpression<decimal> exp = Builder.BuildBlockExpression<decimal>(expression, block); return new Func<object, decimal>(exp.Evaluate); }