예제 #1
0
 private ConfigurationManager()
 {
     this.builder = new ConfigurationBuilder();
     this.builder.ConfigurationChanging += new ConfigurationChangingEventHandler(OnConfigurationChanging);
     this.builder.ConfigurationChanged += new ConfigurationChangedEventHandler(OnConfigurationChanged);
 }
예제 #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;
         }
     }
 }