Esempio n. 1
0
 /// <summary>
 /// Sets this configuration as the NConfigurator default and System wide default configuration.
 /// Thus you can use <see cref="System.Configuration.ConfigurationManager"/> to access this configuration.
 /// </summary>
 public static INConfiguration SetAsSystemDefault(this INConfiguration config)
 {
     NConfigurator.SubstituteSystemConfiguration(config);
     return(config);
 }
Esempio n. 2
0
 /// <summary>
 /// Sets this configuration as the NConfigurator default configuration.
 /// </summary>
 public static INConfiguration SetAsDefault(this INConfiguration config)
 {
     NConfigurator.SetDefaultConfiguration(config);
     return(config);
 }