Example #1
0
 public Subscriber(ILogger <Subscriber> logger, IConfigurationRoot config, IHubContext <RelayHub, IRelayHubClient> hubContext, CacheContainer cache)
 {
     _logger     = logger;
     _config     = config;
     _hubContext = hubContext;
     _cache      = cache;
 }
Example #2
0
 public RelayHub(ILogger <RelayHub> logger, CacheContainer cache)
 {
     _logger = logger;
     _cache  = cache;
 }