Пример #1
0
        private void btnStopRuntime_Click(object sender, EventArgs e)
        {
            SampleWorkflowRuntime.Stop();

            btnCreate.Enabled       = false;
            btnStartRuntime.Enabled = true;
            btnStopRuntime.Enabled  = false;
        }
Пример #2
0
        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;
        }
Пример #3
0
 public static void Cleanup()
 {
     SampleWorkflowRuntime.Stop();
 }
Пример #4
0
 public static void Initialise(TestContext testContext)
 {
     SampleWorkflowRuntime.Start(buildDatabaseSettings());
 }