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); }
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); }