Esempio n. 1
0
 public ExtendLifeService(ConnectionStateProvider connectionState, ILogger <ExtendLifeService> logger)
 {
     _connectionState = connectionState;
     _logger          = logger ?? throw new ArgumentNullException(nameof(logger));
 }
 public ConnectorService(ConnectionStateProvider connectionStateProvider, ILogger <ConnectorService> logger, IHostApplicationLifetime lifeTime)
 {
     _connectionStateProvider = connectionStateProvider;
     _logger   = logger;
     _lifeTime = lifeTime;
 }