Esempio n. 1
0
 public Jobs(IServiceProvider provider)
 {
     _hubContext        = provider.GetRequiredService <IHubContextWrapper>();
     _unitOfWork        = provider.GetRequiredService <IUnitOfWork>();
     _queryDispatcher   = provider.GetRequiredService <IQueryDispatcher>();
     _commandDispatcher = provider.GetRequiredService <ICommandDispatcher>();
 }
Esempio n. 2
0
 public ReportService(IHubContextWrapper <ReportHub> hub)
 {
     if (hub == null)
     {
         throw new ArgumentNullException("hub");
     }
     this.hub = hub;
 }
Esempio n. 3
0
 public ReportService(IHubContextWrapper<ReportHub> hub)
 {
     if (hub == null)
     {
         throw new ArgumentNullException("hub");
     }
     this.hub = hub;
 }
Esempio n. 4
0
 public LogRealtimeService(IHubContextWrapper <LogHub> hub)
 {
     if (hub == null)
     {
         throw new ArgumentNullException("hub");
     }
     this.hub = hub;
 }
Esempio n. 5
0
 public LogRealtimeService(IHubContextWrapper<LogHub> hub)
 {
     if (hub == null)
     {
         throw new ArgumentNullException("hub");
     }
     this.hub = hub;
 }
Esempio n. 6
0
 public ScenarioExecutionService(IScenarioExecutionRepository executionRepository, IHubContextWrapper<ReportHub> hub)
 {
     if (executionRepository == null)
     {
         throw new ArgumentNullException("executionRepository");
     }
     if (hub == null)
     {
         throw new ArgumentNullException("hub");
     }
     this.executionRepository = executionRepository;
     this.hub = hub;
 }
Esempio n. 7
0
 public ScenarioExecutionService(IScenarioExecutionRepository executionRepository, IHubContextWrapper <ReportHub> hub)
 {
     if (executionRepository == null)
     {
         throw new ArgumentNullException("executionRepository");
     }
     if (hub == null)
     {
         throw new ArgumentNullException("hub");
     }
     this.executionRepository = executionRepository;
     this.hub = hub;
 }
Esempio n. 8
0
 public SignalRController(IHubContextWrapper hubContext, ICommandDispatcher commandDispatcher)
 {
     _hubContext        = hubContext;
     _commandDispatcher = commandDispatcher;
 }