public void SaveThrowsErrorWhenKeyIdIsEmpty() { _configurationProvider.Create(); _configurationProvider.Current.CredentialsType = CredentialsType.Basic; _configurationProvider.Current.KeySecret = "secret"; _configurationProvider.Save(); }
public void OnEnabled() { _configProvider = ConfigurationProvider <CitiesStatsConfig> .Create(CitiesStatsConfig.StorageId, Name, () => new CitiesStatsConfig(true)); _configProvider.LoadDefaultConfiguration(); //_localizationProvider = new LocalizationProvider(Name, _modPath); }