Beispiel #1
0
 public ContinueRunningWorkflows(
     IWorkflowInstanceStore workflowInstanceStore,
     IWorkflowInstanceDispatcher workflowInstanceDispatcher,
     IDistributedLockProvider distributedLockProvider,
     ElsaOptions elsaOptions,
     ILogger <ContinueRunningWorkflows> logger)
 {
     _workflowInstanceStore      = workflowInstanceStore;
     _workflowInstanceDispatcher = workflowInstanceDispatcher;
     _distributedLockProvider    = distributedLockProvider;
     _elsaOptions = elsaOptions;
     _logger      = logger;
 }
Beispiel #2
0
 public ExecuteWorkflowDefinition(
     IStartsWorkflow startsWorkflow,
     IWorkflowRegistry workflowRegistry,
     IWorkflowInstanceStore workflowInstanceStore,
     IDistributedLockProvider distributedLockProvider,
     ElsaOptions elsaOptions,
     ILogger <ExecuteWorkflowDefinition> logger)
 {
     _startsWorkflow          = startsWorkflow;
     _workflowRegistry        = workflowRegistry;
     _workflowInstanceStore   = workflowInstanceStore;
     _distributedLockProvider = distributedLockProvider;
     _elsaOptions             = elsaOptions;
     _logger = logger;
 }