private void btnStopRuntime_Click(object sender, EventArgs e) { SampleWorkflowRuntime.Stop(); btnCreate.Enabled = false; btnStartRuntime.Enabled = true; btnStopRuntime.Enabled = false; }
private void btnStartRuntime_Click(object sender, EventArgs e) { SampleWorkflowRuntime.Start(_options.DatabaseSettings); SampleWorkflowRuntime.Current.WorkflowTerminated += workflowRuntime_WorkflowTerminated; SampleWorkflowRuntime.Current.ServicesExceptionNotHandled += workflowRuntime_ServicesExceptionNotHandled; btnCreate.Enabled = true; btnStartRuntime.Enabled = false; btnStopRuntime.Enabled = true; }
public static void Cleanup() { SampleWorkflowRuntime.Stop(); }
public static void Initialise(TestContext testContext) { SampleWorkflowRuntime.Start(buildDatabaseSettings()); }