A context in which a set of variables are bound to values
예제 #1
0
 /// <summary>
 /// Applies the series of calculators to the specified runtime
 /// </summary>
 /// <param name="runtime">A runtime to which the series of calculators is applied</param>
 public void ApplyCalculation(GraspRuntime runtime)
 {
     foreach(var calculator in Calculators)
     {
         calculator.ApplyCalculation(runtime);
     }
 }
예제 #2
0
파일: ICalculator.cs 프로젝트: bwatts/Grasp
 void ICalculator.ApplyCalculation(GraspRuntime runtime)
 {
     Contract.Requires(runtime != null);
 }
예제 #3
0
 /// <summary>
 /// Applies the function to the specified runtime
 /// </summary>
 /// <param name="runtime">A runtime to which the function is applied</param>
 public void ApplyCalculation(GraspRuntime runtime)
 {
     runtime.SetVariableValue(OutputVariable, Function(runtime));
 }