public SettingsServiceClientManager(
     SettingsServiceClient client,
     ILogger logger,
     SettingsContractProvider settingsContractProvider)
 {
     _settingsContractProvider = settingsContractProvider;
     _client = client;
     _logger = logger;
 }
        public SettingsServiceClientManager(
            SettingsServiceClient client,
            IAppSettings appSettings,
            ILogger logger,
            SettingsContractProvider settingsContractProvider)
        {
            _settingsContractProvider = settingsContractProvider;
            _client = client;
            _logger = logger;

            appSettings.PropertyChanged += async(s, e) =>
            {
                if (e.PropertyName == nameof(IAppSettings.KillSwitch) ||
                    e.PropertyName == nameof(IAppSettings.Ipv6LeakProtection))
                {
                    _logger.Info($"Setting \"{e.PropertyName}\" changed");
                    await UpdateServiceSettings();
                }
            };
        }