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