/// <summary> /// Starts the application. /// </summary> public void Start() { try { ui.Console.ForegroundColor = ConsoleColor.DarkGreen; ui.WriteKinokoHeader(); if (HelpWasRequested()) { WriteHelpToConsole(); } else if (ExistsParsingErrors()) { WriteParsingErrorsToConsole(); } else if (AssembliesWereProvided()) { PerformMeasurementsOnAssemblies(options.AssemblyFileNames); } } catch (Exception ex) { ui.DisplayError(ex); } finally { ui.Pause(); } }