示例#1
0
 public static void Start <TApplication>(ApplicationConfig config)
     where TApplication : Application, new()
 {
     new Startup <TApplication>(config).Start();
 }
示例#2
0
 internal static void Start <TApplication>(ApplicationConfig config, TApplication instance)
     where TApplication : Application, new()
 {
     new Startup <TApplication>(config).Start(instance);
 }
示例#3
0
 internal void SetConfig(ApplicationConfig config)
 {
     Config = config;
 }