Esempio n. 1
0
        /// <summary>
        /// Prints GNU license to console view.
        /// </summary>
        private void PrintLicense()
        {
            GnuLicense gnuLicence = new GnuLicense();

            while (gnuLicence.IsLastPart())
            {
                _consoleView.EchoLine(gnuLicence.NextGnuLicensePart());
                _consoleView.EchoLine(String.Empty);
                _consoleView.EchoLine(@Resources.MessagePressAnyKeyToContinue);
                _consoleView.ReadKey();
            }
            Console.WriteLine(gnuLicence.NextGnuLicensePart());
            _consoleView.EchoLine(String.Empty);
            _consoleView.EchoLine(@Resources.MessagePressEnterToExit);
        }
Esempio n. 2
0
 /// <summary>
 /// Prints GNU license to console view.
 /// </summary>
 private void PrintLicense()
 {
     GnuLicense gnuLicence = new GnuLicense();
     while (gnuLicence.IsLastPart())
     {
         _consoleView.EchoLine(gnuLicence.NextGnuLicensePart());
         _consoleView.EchoLine(String.Empty);
         _consoleView.EchoLine(@Resources.MessagePressAnyKeyToContinue);
         _consoleView.ReadKey();
     }
     Console.WriteLine(gnuLicence.NextGnuLicensePart());
     _consoleView.EchoLine(String.Empty);
     _consoleView.EchoLine(@Resources.MessagePressEnterToExit);
 }