/*public static TestWorkflowRuntime CreateTestWorkflowRuntime(TestActivity testActivity, params TestServiceRuntime[] serviceRuntimes) * { * TestWorkflowRuntimeConfiguration wrc = TestWorkflowRuntimeConfiguration.GenerateDefaultConfiguration(testActivity); * * if (serviceRuntimes != null && serviceRuntimes.Length > 0) * { * foreach (TestServiceRuntime serviceRuntime in serviceRuntimes) * { * ClientOperationUtility.BindClientOperations(testActivity, serviceRuntime.Configuration, wrc.Settings, false); * } * } * * return new TestWorkflowRuntime(testActivity, wrc); * } */ public static TestWorkflowRuntime CreateTestWorkflowRuntime(TestActivity testActivity, WorkflowIdentity definitionIdentity = null, InstanceStore instanceStore = null, PersistableIdleAction idleAction = PersistableIdleAction.None) { TestWorkflowRuntimeConfiguration wrc = new TestWorkflowRuntimeConfiguration(); return(new TestWorkflowRuntime(testActivity, wrc, instanceStore, idleAction)); }
public static TestWorkflowRuntime CreateTestWorkflowRuntime(TestActivity testActivity, TestWorkflowRuntimeConfiguration testWorkflowRuntimeConfiguration) { return(new TestWorkflowRuntime(testActivity, testWorkflowRuntimeConfiguration)); }