Esempio n. 1
0
 public IExpr Calculate(EvalContext cal, IExpr[] exps)
 {
     /*if (QuantityNumber != -1)
      * {
      *  if (exps.Length != QuantityNumber) throw new Exception("The number of quantitys is wrong. It should be " + QuantityNumber.ToString());
      * }*/
     return(EvaluateFunc.Invoke(exps, cal));
 }
Esempio n. 2
0
 public ProxyExprEvaluator(EvaluateFunc procEvaluate)
 {
     ProcEvaluate = procEvaluate;
 }