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
 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));
 }