public void TestInit() { this.config = new Configuration(); this.allSettingsView = new AllSettingsConfigurationView(); this.testSource = new DebugConfigurationSource(); this.appConfigSource = new AppSettingsConfigurationSource(); this.lockingTestSource = new DebugConfigurationSource(); this.config.RegisterConfigurationView(this.allSettingsView); this.config.RegisterConfigurationSource(this.appConfigSource); this.config.RegisterConfigurationSource(this.testSource); this.config.RegisterConfigurationSource(this.lockingTestSource); this.lockingTestSource.TryAddOrUpdateSetting(ConfigNames.LockedSetting, "locked"); this.lockingTestSource.TryLockSetting(ConfigNames.LockedSetting); }
public AppSettingsConfigurationSourceProviderFacts() { _provider = new AppSettingsConfigurationSource(); }