Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }
Exemple #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;
 }