コード例 #1
0
ファイル: WorkflowInstance.cs プロジェクト: xoposhiy/KOIB
 internal WorkflowInstance(Guid instanceId, WorkflowRuntime runtime, WorkflowExecutionContext executionContext)
 {
     CodeContract.Requires(instanceId != Guid.Empty);
     CodeContract.Requires(runtime != null);
     CodeContract.Requires(executionContext != null);
     InstanceId       = instanceId;
     Runtime          = runtime;
     ExecutionContext = executionContext;
     ExecutionContext.SetWorkflowInstance(this);
 }
コード例 #2
0
ファイル: WorkflowInstance.cs プロジェクト: nico-izo/KOIB
 internal WorkflowInstance(Guid instanceId, WorkflowRuntime runtime, WorkflowExecutionContext executionContext)
 {
     CodeContract.Requires(instanceId != Guid.Empty);
     CodeContract.Requires(runtime != null);
     CodeContract.Requires(executionContext != null);
     InstanceId = instanceId;
     Runtime = runtime;
     ExecutionContext = executionContext;
     ExecutionContext.SetWorkflowInstance(this);
 }