Ejemplo n.º 1
0
 private ConfigurationManager()
 {
     this.builder = new ConfigurationBuilder();
     this.builder.ConfigurationChanging += new ConfigurationChangingEventHandler(OnConfigurationChanging);
     this.builder.ConfigurationChanged += new ConfigurationChangedEventHandler(OnConfigurationChanged);
 }
Ejemplo n.º 2
0
 /// <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;
         }
     }
 }