コード例 #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);
        }
コード例 #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);
 }