Пример #1
0
 public Worker(IServiceProvider provider, ICronusHost cronusHost, IPublisher <ICommand> commandPublisher, ILogger <Worker> logger)
 {
     _logger               = logger;
     this.cronusHost       = cronusHost;
     this.commandPublisher = commandPublisher;
     CronusBooter.BootstrapCronus(provider);
 }
Пример #2
0
 public Worker(IServiceProvider provider, ICronusHost cronusHost, ILogger <Worker> logger)
 {
     _logger         = logger;
     this.cronusHost = cronusHost;
     CronusBooter.BootstrapCronus(provider);
 }
Пример #3
0
 public Worker(IServiceProvider provider, ICronusHost cronusHost, IPublisher <ICommand> publisher)
 {
     this.cronusHost = cronusHost;
     this.publisher  = publisher;
 }