public ConfigService(IKeyValueStore keyValueStore, IPushbulletClient pushbulletClient) { if (keyValueStore == null) throw new ArgumentNullException("keyValueStore"); if (pushbulletClient == null) throw new ArgumentNullException("pushbulletClient"); _keyValueStore = keyValueStore; _pushbulletClient = pushbulletClient; }
public PushbulletNotifier(ILogger<PushbulletNotifier> logger, IKeyValueStore keyValueStore, IPushbulletClient pushbulletClient) { if (logger == null) throw new ArgumentNullException("logger"); if (keyValueStore == null) throw new ArgumentNullException("keyValueStore"); if (pushbulletClient == null) throw new ArgumentNullException("pushbulletClient"); _logger = logger; _keyValueStore = keyValueStore; _pushbulletClient = pushbulletClient; }
public ConfigService(IKeyValueStore keyValueStore, IPushbulletClient pushbulletClient) { if (keyValueStore == null) { throw new ArgumentNullException("keyValueStore"); } if (pushbulletClient == null) { throw new ArgumentNullException("pushbulletClient"); } _keyValueStore = keyValueStore; _pushbulletClient = pushbulletClient; }
public PushbulletNotifier(ILogger <PushbulletNotifier> logger, IKeyValueStore keyValueStore, IPushbulletClient pushbulletClient) { if (logger == null) { throw new ArgumentNullException("logger"); } if (keyValueStore == null) { throw new ArgumentNullException("keyValueStore"); } if (pushbulletClient == null) { throw new ArgumentNullException("pushbulletClient"); } _logger = logger; _keyValueStore = keyValueStore; _pushbulletClient = pushbulletClient; }