public Jobs(IServiceProvider provider) { _hubContext = provider.GetRequiredService <IHubContextWrapper>(); _unitOfWork = provider.GetRequiredService <IUnitOfWork>(); _queryDispatcher = provider.GetRequiredService <IQueryDispatcher>(); _commandDispatcher = provider.GetRequiredService <ICommandDispatcher>(); }
public ReportService(IHubContextWrapper <ReportHub> hub) { if (hub == null) { throw new ArgumentNullException("hub"); } this.hub = hub; }
public ReportService(IHubContextWrapper<ReportHub> hub) { if (hub == null) { throw new ArgumentNullException("hub"); } this.hub = hub; }
public LogRealtimeService(IHubContextWrapper <LogHub> hub) { if (hub == null) { throw new ArgumentNullException("hub"); } this.hub = hub; }
public LogRealtimeService(IHubContextWrapper<LogHub> hub) { if (hub == null) { throw new ArgumentNullException("hub"); } this.hub = hub; }
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; }
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; }
public SignalRController(IHubContextWrapper hubContext, ICommandDispatcher commandDispatcher) { _hubContext = hubContext; _commandDispatcher = commandDispatcher; }