Beispiel #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);
        }
 /// <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);
 }