Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:Dt.CalcEngine.Expressions.CalcBinaryOperatorExpression" /> class.
 /// </summary>
 /// <param name="oper">The binary operator.</param>
 /// <param name="left">The left operand.</param>
 /// <param name="right">The right operand.</param>
 public CalcBinaryOperatorExpression(CalcBinaryOperator oper, CalcExpression left, CalcExpression right)
 {
     base.ThrowIfArgumentNull <CalcBinaryOperator>(oper, "oper");
     base.ThrowIfArgumentNull <CalcExpression>(left, "left");
     base.ThrowIfArgumentNull <CalcExpression>(right, "right");
     this._operator = oper;
     this._left     = left;
     this._right    = right;
 }
Exemplo n.º 2
0
 public CriteriaEvaluator(CalcBinaryOperator criteriaOperator, object criteriaValue)
 {
     this.criteriaOperator = criteriaOperator;
     this.criteriaValue    = criteriaValue;
 }