예제 #1
0
 public static App Start <TAppModule>(AppSetupOptions options)
     where TAppModule : IAppModule, new()
 {
     return(new AppSetup(options).Start(new TAppModule()));
 }
예제 #2
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="options"></param>
 public AppSetup(AppSetupOptions options)
 {
     this.ConfigFilePath            = options.ConfigFilePath;
     this.allAppModuleTypeCollector = options.AllAppModuleTypeCollector;
 }