Esempio n. 1
0
 public ConfigService(IKeyValueStore keyValueStore, IPushalotClient pushalotClient)
 {
     if (keyValueStore == null) throw new ArgumentNullException("keyValueStore");
     if (pushalotClient == null) throw new ArgumentNullException("pushalotClient");
     _keyValueStore = keyValueStore;
     _pushalotClient = pushalotClient;
 }
Esempio n. 2
0
 public PushalotNotifier(ILogger<PushalotNotifier> logger, IPushalotClient pushalotClient, IKeyValueStore keyValueStore)
 {
     if (logger == null) throw new ArgumentNullException("logger");
     if (pushalotClient == null) throw new ArgumentNullException("pushalotClient");
     if (keyValueStore == null) throw new ArgumentNullException("keyValueStore");
     _logger = logger;
     _pushalotClient = pushalotClient;
     _keyValueStore = keyValueStore;
 }
Esempio n. 3
0
 public ConfigService(IKeyValueStore keyValueStore, IPushalotClient pushalotClient)
 {
     if (keyValueStore == null)
     {
         throw new ArgumentNullException("keyValueStore");
     }
     if (pushalotClient == null)
     {
         throw new ArgumentNullException("pushalotClient");
     }
     _keyValueStore  = keyValueStore;
     _pushalotClient = pushalotClient;
 }
Esempio n. 4
0
 public PushalotNotifier(ILogger <PushalotNotifier> logger, IPushalotClient pushalotClient, IKeyValueStore keyValueStore)
 {
     if (logger == null)
     {
         throw new ArgumentNullException("logger");
     }
     if (pushalotClient == null)
     {
         throw new ArgumentNullException("pushalotClient");
     }
     if (keyValueStore == null)
     {
         throw new ArgumentNullException("keyValueStore");
     }
     _logger         = logger;
     _pushalotClient = pushalotClient;
     _keyValueStore  = keyValueStore;
 }