Esempio n. 1
0
 public WorkflowConsumer(IPersistenceProvider persistenceProvider, IQueueProvider queueProvider, ILoggerFactory loggerFactory, IServiceProvider serviceProvider, IWorkflowRegistry registry, IDistributedLockProvider lockProvider, IWorkflowExecutor executor, IDateTimeProvider datetimeProvider, IGreyList greylist, WorkflowOptions options)
     : base(queueProvider, loggerFactory, options)
 {
     _persistenceStore = persistenceProvider;
     _greylist         = greylist;
     _executor         = executor;
     _lockProvider     = lockProvider;
     _datetimeProvider = datetimeProvider;
 }
 public RunnablePoller(IPersistenceProvider persistenceStore, IQueueProvider queueProvider, ILoggerFactory loggerFactory, IServiceProvider serviceProvider, IWorkflowRegistry registry, IDistributedLockProvider lockProvider, IGreyList greylist, WorkflowOptions options)
 {
     _persistenceStore = persistenceStore;
     _greylist         = greylist;
     _queueProvider    = queueProvider;
     _logger           = loggerFactory.CreateLogger <RunnablePoller>();
     _lockProvider     = lockProvider;
     _options          = options;
 }
Esempio n. 3
0
 public EventConsumer(IWorkflowRepository workflowRepository, ISubscriptionRepository subscriptionRepository, IEventRepository eventRepository, IQueueProvider queueProvider, ILoggerFactory loggerFactory, IServiceProvider serviceProvider, IWorkflowRegistry registry, IDistributedLockProvider lockProvider, WorkflowOptions options, IDateTimeProvider datetimeProvider, IGreyList greylist)
     : base(queueProvider, loggerFactory, options)
 {
     _workflowRepository     = workflowRepository;
     _greylist               = greylist;
     _subscriptionRepository = subscriptionRepository;
     _eventRepository        = eventRepository;
     _lockProvider           = lockProvider;
     _datetimeProvider       = datetimeProvider;
 }