예제 #1
0
        // 配置应用程序启动时需要加载的项
        static void AppRuntimeStart()
        {
            AppBootstrapper.Register <RmsDbContextInitializer>();
            AppBootstrapper.Register <DtoMapperInitializer>();
            AppBootstrapper.Register <OwinClaimInitializer>();

            AppRuntime.Initialize();
            AppRuntime.Instance.CurrentApplication.Start();
        }
예제 #2
0
 /// <summary>
 /// 程序启动
 /// </summary>
 public static void Start()
 {
     AppRuntime.Initialize();
     AppRuntime.Instance.CurrentApplication.Start();
 }