public Calculation ( |
||
outputVariable | The variable to which the output of this calculation is assigned | |
expression | The expression tree which defines the body of this calculation | |
return | System |
public Calculation(Variable outputVariable, Expression expression)
{
Contract.Requires(outputVariable != null);
Contract.Requires(expression != null);
OutputVariable = outputVariable;
Expression = expression;
}