Пример #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;
 }