コード例 #1
0
 protected void EnsureRightHandSide(Expression expression)
 {
     // val moet decimal?
     if (expression.RightHand.Val == 0)
     {
         var calculator = _calculatorFactory.Resolve(expression.RightHand);
         expression.RightHand.Val = calculator.Calculate(expression.RightHand);
     }
 }