Ejemplo n.º 1
0
        private void HandleThirdPartyNoticesAndExit()
        {
            string pathToFile = Path.Combine(AppContext.BaseDirectory, "thirdpartynotices.html");

            _outputGenerator.WriteThirdPartyNoticeOutput(pathToFile);

            _browserAbstraction.Open(pathToFile);
            Environment.Exit(ReturnValueChooser.ThirdPartyNoticesDisplayed);
        }
Ejemplo n.º 2
0
        private void HandleThirdPartyNoticesAndExit()
        {
            string currentFolder = Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location);
            string pathToFile    = Path.Combine(currentFolder, "thirdpartynotices.html");

            _outputGenerator.WriteThirdPartyNoticeOutput(pathToFile);

            _browserAbstraction.Open(pathToFile);
            Environment.Exit(ReturnValueChooser.ThirdPartyNoticesDisplayed);
        }