/// <summary>
 /// Default Register
 /// </summary>
 public static void RegisterDefaultService()
 {
     try
     {
         ConfigRegister();//configs
         ContainerManager.BuildServiceProvider();
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
예제 #2
0
 public static IServiceProvider GetServiceProvider()
 {
     return(ContainerManager.BuildServiceProvider());
 }
 /// <summary>
 /// Configure default web service
 /// </summary>
 public static void ConfigureDefaultWebService()
 {
     Configure();
     ContainerManager.BuildServiceProvider();
 }