Exemplo n.º 1
0
 public ServiceRunner(IConnectionManager connectionManager, IConfiguration configuration, ServiceActions statusService)
 {
     _hubContext    = connectionManager.GetHubContext <DashboardHub>();
     _statusService = statusService;
     _sourceUrl     = configuration["HttpSourceLocation"];
     _totalCount    = new Dictionary <string, int>();
 }
Exemplo n.º 2
0
 public DashboardHub(IConfiguration configuration, ServiceActions statusService)
 {
     _sourceUrl     = (string)configuration["HttpSourceLocation"];
     _statusService = statusService;
 }