Пример #1
0
        ConsoleTextWriter(ColorHostUserInterface ui)
            :
            base(System.Globalization.CultureInfo.CurrentCulture)
        {
            Util.Assert(ui != null, "ui needs a value");

            _ui = ui;
        }
Пример #2
0
 ProgressPane(ColorHostUserInterface ui)
 {
     if (ui == null)
     {
         throw new ArgumentNullException("ui");
     }
     _ui    = ui;
     _rawui = ui.RawUI;
 }