Ejemplo n.º 1
0
 /// <summary>
 /// Wrapper for <see cref = "IBenchmark.Evaluate" /> in Python.
 /// Evaluates this benchmark at the specified time
 /// </summary>
 /// <param name="time">The time to evaluate the benchmark at</param>
 /// <returns>The value of the benchmark at the specified time</returns>
 public decimal Evaluate(DateTime time)
 {
     using (Py.GIL())
     {
         return(_benchmark.Evaluate(time));
     }
 }