예제 #1
0
 public static void SetServiceProvider(IServiceProvider serviceProvider, IConfigurationRoot configurationRoot)
 {
     Ensure.NotNull(serviceProvider, "ServiceProvider");
     _ServiceProvider = serviceProvider;
     Ensure.NotNull(configurationRoot, "ConfigurationRoot");
     ConfigurationManage.SetConfiguration(configurationRoot);
 }
예제 #2
0
 /// <summary>
 /// .ctor
 /// </summary>
 static ConfigurationManage()
 {
     Instance = new ConfigurationManage();
 }