Пример #1
0
 static void Main(string[] args)
 {
     m_AppLauncher = new ApplicationLauncher <ExportApplication, Arguments, MainWindow>(new Initiator());
     m_AppLauncher.RunConsoleAsync   += OnRunConsoleAsync;
     m_AppLauncher.WindowCreated     += OnWindowCreated;
     m_AppLauncher.ConfigureServices += OnConfigureServices;
     m_AppLauncher.Start(args);
 }
Пример #2
0
 static void Main(string[] args)
 {
     m_AppLauncher = new ApplicationLauncher <BatchApplication, BatchArguments, MainWindow>(new Initiator());
     m_AppLauncher.ConfigureServices += OnConfigureServices;
     m_AppLauncher.ParseArguments    += OnParseArguments;
     m_AppLauncher.WriteHelp         += OnWriteHelp;
     m_AppLauncher.WindowCreated     += OnWindowCreated;
     m_AppLauncher.RunConsoleAsync   += OnRunConsoleAsync;
     m_AppLauncher.Start(args);
 }