Source/Expression/BinaryOperation.cs
/// <summary>
/// Executes the operation on the operands
/// </summary>
/// <param name="context">The evaluation context</param>
/// <returns>The evaluated expression's result</returns>
Executes the operation on the operands
Executes the operation on the operands
public ExpressionResult Evaluate(EvaluationContext context)
		{
			ExpressionResult leftResult = LeftOperand.Evaluate(context);
			ExpressionResult rightResult = RightOperand.Evaluate(context);
			ExpressionResult result = Operator(leftResult, rightResult);
			return result;
		}
public ExpressionResult Evaluate ( EvaluationContext context ) { ExpressionResult leftResult = LeftOperand . Evaluate ( context ) ; ExpressionResult rightResult = RightOperand . Evaluate ( context ) ; ExpressionResult result = Operator ( leftResult , rightResult ) ; return result ; }
Executes the operation on the operands
Executes the operation on the operands
The evaluated expression's result
The evaluated expression ' s result
context
EvaluationContext
The evaluation context
The evaluation context