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