public TestConfigurationBase(IConfigurationSourceFactory configurationSourceFactory, bool autoRefresh, bool refreshSynchronously) : base(configurationSourceFactory) { if (autoRefresh) { RefreshInterval = TimeSpan.FromMinutes(0); AutoRefreshSynchronously = refreshSynchronously; } }
/// <summary> /// Default constructor initialising the configuration set /// </summary> /// <param name="configurationSourceFactory">The main configuration source</param> protected ConfigurationBase(IConfigurationSourceFactory configurationSourceFactory) { _default = this; _configurationSourceFactory = configurationSourceFactory; UpdateSettings(); }