StopRun() private method

private StopRun ( ICallbackEventHandler handler, bool force ) : void
handler ICallbackEventHandler
force bool
return void
Ejemplo n.º 1
0
 /// <summary>
 /// Construct a StopRunAction and stop any ongoing run. If no
 /// run is in process, no error is raised.
 /// </summary>
 /// <param name="controller">The FrameworkController for which a run is to be stopped.</param>
 /// <param name="force">True the stop should be forced, false for a cooperative stop.</param>
 /// <param name="handler">>A callback handler used to report results</param>
 /// <remarks>A forced stop will cause threads and processes to be killed as needed.</remarks>
 public StopRunAction(FrameworkController controller, bool force, object handler)
 {
     controller.StopRun((ICallbackEventHandler)handler, force);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Construct a StopRunAction and stop any ongoing run. If no
 /// run is in process, no error is raised.
 /// </summary>
 /// <param name="controller">The FrameworkController for which a run is to be stopped.</param>
 /// <param name="force">True the stop should be forced, false for a cooperative stop.</param>
 /// <param name="handler">>A callback handler used to report results</param>
 /// <remarks>A forced stop will cause threads and processes to be killed as needed.</remarks>
 public StopRunAction(FrameworkController controller, bool force, object handler)
 {
     controller.StopRun((ICallbackEventHandler)handler, force);
 }