C# Class NUnit.Framework.Api.FrameworkController.StopRunAction

StopRunAction stops an ongoing run.
Inheritance: FrameworkControllerAction
Datei anzeigen Open project: nunit/nunit

Public Methods

Method Description
StopRunAction ( FrameworkController controller, bool force, object handler ) : System

Construct a StopRunAction and stop any ongoing run. If no run is in process, no error is raised.

A forced stop will cause threads and processes to be killed as needed.

Method Details

StopRunAction() public method

Construct a StopRunAction and stop any ongoing run. If no run is in process, no error is raised.
A forced stop will cause threads and processes to be killed as needed.
public StopRunAction ( FrameworkController controller, bool force, object handler ) : System
controller FrameworkController The FrameworkController for which a run is to be stopped.
force bool True the stop should be forced, false for a cooperative stop.
handler object >A callback handler used to report results
return System