Method RequestStop
RequestStop()
Requests that the currently running Session stop. The Session will stop after the current iteration completes.
void RequestStop()
Remarks
This will cause Run(IRunnable, Func<Exception, bool>?) to return.
This is equivalent to calling RequestStop(IRunnable?) with TopRunnableView as the parameter.
RequestStop(IRunnable?)
Requests that the specified runnable session stop.
void RequestStop(IRunnable? runnable)
Parameters
runnableIRunnableThe runnable to stop. If null, stops the current TopRunnableView .
Remarks
This will cause Run(IRunnable, Func<Exception, bool>?) to return.
Raises IsRunningChanging, IsRunningChanged, and IsModalChanged events.