static void Main(string[] args) { InitializeServiceProvider(); IConsoleApp app = _serviceProvider.GetService <IConsoleApp>(); app.Run(); }
private void RunNgen(string cmdLine) { _ngenApp = new ConsoleApp(NgenExePath, cmdLine); _ngenApp.ConsoleOutput += OnConsoleOutput; _ngenApp.Exited += OnConsoleExited; _ngenApp.Run(); }
static async Task Main(string[] args) { await _app.Run(); }