private ConfigurationManager() { this.builder = new ConfigurationBuilder(); this.builder.ConfigurationChanging += new ConfigurationChangingEventHandler(OnConfigurationChanging); this.builder.ConfigurationChanged += new ConfigurationChangedEventHandler(OnConfigurationChanged); }
/// <summary> /// Disposes of unmanaged resources held by this class /// </summary> /// <param name="disposing">True if called from Dispose() method. False otherwise </param> private void Dispose(bool disposing) { if (disposing) { if (builder != null) { builder.Dispose(); builder = null; } } }