Esempio n. 1
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;
 }
 public HostedWorkflowRunner(IStartsWorkflow workflowRunner, IContentSerializer serializer, IWorkflowBlueprintMaterializer materializer)
 {
     _workflowRunner = workflowRunner ?? throw new System.ArgumentNullException(nameof(workflowRunner));
     _serializer     = serializer ?? throw new System.ArgumentNullException(nameof(serializer));
     _materializer   = materializer ?? throw new System.ArgumentNullException(nameof(materializer));
 }
Esempio n. 3
0
 public RunWorkflow(IStartsWorkflow startsWorkflow, IWorkflowRegistry workflowRegistry, IWorkflowStorageService workflowStorageService)
 {
     _startsWorkflow         = startsWorkflow;
     _workflowRegistry       = workflowRegistry;
     _workflowStorageService = workflowStorageService;
 }
Esempio n. 4
0
 public RunWorkflow(IStartsWorkflow startsWorkflow, IWorkflowRegistry workflowRegistry)
 {
     _startsWorkflow   = startsWorkflow;
     _workflowRegistry = workflowRegistry;
 }