partial void OnSecondOperandChanging(global::RuleService.Models.Expressions.Expression value);
public static ExpressionUnaryOperation CreateExpressionUnaryOperation(global::RuleService.Models.Expressions.ExpressionUnaryOperator @operator, global::RuleService.Models.Expressions.Expression operand) { ExpressionUnaryOperation expressionUnaryOperation = new ExpressionUnaryOperation(); expressionUnaryOperation.Operator = @operator; if ((operand == null)) { throw new global::System.ArgumentNullException("operand"); } expressionUnaryOperation.Operand = operand; return(expressionUnaryOperation); }
public static ExpressionBinaryOperation CreateExpressionBinaryOperation(global::RuleService.Models.Expressions.ExpressionBinaryOperator @operator, global::RuleService.Models.Expressions.Expression firstOperand, global::RuleService.Models.Expressions.Expression secondOperand) { ExpressionBinaryOperation expressionBinaryOperation = new ExpressionBinaryOperation(); expressionBinaryOperation.Operator = @operator; if ((firstOperand == null)) { throw new global::System.ArgumentNullException("firstOperand"); } expressionBinaryOperation.FirstOperand = firstOperand; if ((secondOperand == null)) { throw new global::System.ArgumentNullException("secondOperand"); } expressionBinaryOperation.SecondOperand = secondOperand; return(expressionBinaryOperation); }
partial void OnExpressionChanging(global::RuleService.Models.Expressions.Expression value);