protected override void PrintContent()
        {
            CPrinter.PrintList(options.Select(o => $"[{ (o == currentOption ? '*' : ' ') }] { o.Name } "));

            if (!string.IsNullOrWhiteSpace(notice))
            {
                CPrinter.PrintEmptyLine();
                CPrinter.PrintText(notice);
            }
        }
Beispiel #2
0
 public void Show()
 {
     do
     {
         Console.Clear();
         CPrinter.PrintHeader(Header);
         CPrinter.PrintEmptyLine();
         PrintContent();
         CPrinter.PrintEmptyLine();
         CPrinter.PrintFooter(Footer);
     }while (Run());
 }