Esempio n. 1
0
 void WriteExitPrompt()
 {
     WriteHelper.WriteSpacer();
     WriteHelper.WriteSpacer();
     WriteHelper.WriteSpacer();
     WriteHelper.WriteSpacer();
     System.Console.WriteLine("Press ENTER to exit");
     System.Console.ReadLine();
 }
Esempio n. 2
0
        void WriteLunches()
        {
            // Write headline
            WriteHelper.Write($"There are {viewModel.Lunches.Count} lunch suggestions for today:", ConsoleColor.Green);
            WriteHelper.WriteSpacer();

            // Write list
            foreach (var lunch in viewModel.Lunches)
            {
                var time = lunch.OfficeLeftDate.ToString("HH:mm");
                WriteHelper.Write($"  -> {lunch.Title} will leave the office at {time} with {lunch.NumberOfAttendees} attendee(s)");
            }

            // Write footer
            WriteHelper.WriteSpacer();
            WriteHelper.Write("Wanna join? Use any device that is near to you, to board a lunch!", ConsoleColor.Green);
        }
Esempio n. 3
0
 /// <summary>
 /// Writes the Nomster Logo.
 /// Original ASCII source: http://picascii.com/
 /// </summary>
 public static void WriteLogo()
 {
     WriteHelper.Write("                                                  .#@@@@@,         ");
     WriteHelper.Write("         .+@@@@@:                               +@#@@#+#@@@'       ");
     WriteHelper.Write("       @@#@@##@@#@+                           ;@@#::::::::+#@      ");
     WriteHelper.Write("     +@@'::::::::##@                         @@@::::::::::::#@     ");
     WriteHelper.Write("    @@'::::::::::::@@`    ,#@@@##@@#@@@@:   @@':::::::::::::;@`    ");
     WriteHelper.Write("   :@;::::::::'#@@@@@@`,@@@@+;;::::::;'@@@@#@@####@@@@#';;::;@:    ");
     WriteHelper.Write("   @@:::;'@@@#@@@#';'@@@#;::::::::::::::::#@@#   `,'#@@@@@##@@     ");
     WriteHelper.Write("   @@@@#@@@@:`      @@+:::::::::::::::::::::'@@`                   ");
     WriteHelper.Write("   `##',          ,@@:::::::::::::::::::::;@#@@@@@:                ");
     WriteHelper.Write("                 ;@':::::::::::::::::::::@@@@@@@@@@@               ");
     WriteHelper.Write("              :@@@@@@@::::::::::::::::::@@@#@@@@@@@@@              ");
     WriteHelper.Write("             @@###@@@@##:::::::::::::::@@@@    @@@@@@@             ");
     WriteHelper.Write("            @@+   @@@@@@@:::::::::::::;@@@      @@@@@@;            ");
     WriteHelper.Write("           @@;     @@@@@@+::::::::::::@@@'      ,@@@@@@            ");
     WriteHelper.Write("          +@@       #@@@@#::::::::::::@@@:      .#@@@@@            ");
     WriteHelper.Write("          @@@       #@@@@@+:::::::::::@@@#      :@@@@@@            ");
     WriteHelper.Write("          @@@       #@@@@@@:::::::::::@@@#      @@@@@@@            ");
     WriteHelper.Write("         `@@#      :@@@@@@@:::::::::::@@@@@`   @@@@@@@@@           ");
     WriteHelper.Write("         `@@@@    `###@@@@@:::::::::::+@@@@#@@#@  @@@@@@           ");
     WriteHelper.Write("          @@@@#@'@#@ `#@@@@::::::::::::#@@@@@@@@,@#@@@@@#@#        ");
     WriteHelper.Write("          @@@@@@@@@+  @@@@'::::::::::::'@@@@@@@@@+;::::::'@#@      ");
     WriteHelper.Write("        '@#@@@@@@@@#.;@@@@::::::::::::::+#@@@@@'::::::::::::@@`    ");
     WriteHelper.Write("      ;@@':::::::;@@#@@@@;:::::::::::::::;@@@@:::::::::::::::+#.   ");
     WriteHelper.Write("     @@;::::::::::::@@@@+::::::::::::::::::;;:::::::::::::::::'@   ");
     WriteHelper.Write("    @@:::::::::::::::+@':::::::::::::::::::::::::::::::::::::::+@  ");
     WriteHelper.Write("   @@:::::::::::::::::+:::::::::::::::::::::::::::::::::::::::::@+ ");
     WriteHelper.Write("  #@::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;@ ");
     WriteHelper.Write("  #;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::@,");
     WriteHelper.Write(" @@::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::@@");
     WriteHelper.Write(" @;:::::::::::::::::::::;::::::::::::::::::;:::::::::::::::::::::'@");
     WriteHelper.Write("`@:::::::::::::::::::::#:::::::::::::::::::+:::::::::::::::::::::'@");
     WriteHelper.Write(";@:::::::::::::::::::::#::::::::::::::::::::;::::::::::::::::::::'@");
     WriteHelper.Write("+@:::::::::::::::::::::'::::::::::::::::::::'::::::::::::::::::::'@");
     WriteHelper.Write("+@:::::::::::::::::::::@:::::::::::::::::::;;::::::::::::::::::::@@");
     WriteHelper.Write(";@:::::::::::::::::::::+:::::::::;:::::::::@:::::::::::::::::::::@,");
     WriteHelper.Write("`@::::::::::::::::::::::@:::::::;#+:::::::+;::::::::::::::::::::;@ ");
     WriteHelper.Write(" @;::::::::::::::::::::::++;::;@'::@':::'@::::::::::::::::::::::@+ ");
     WriteHelper.Write(" #@::::::::::::::::::::::::;'';::::::''':::::::::::::::::::::::+@  ");
     WriteHelper.Write("  #;::::::::::::::::::::::::::::::;:::::::::+:::::::::::::::::'@   ");
     WriteHelper.Write("  +@::::::::::::::::::::::::::::# :`':::::::@@:::::::::::::::+@.   ");
     WriteHelper.Write("   @@:::::::::::::::::+::::::::; @# ``,;:::::@#'::::::::::::@@`    ");
     WriteHelper.Write("    @@:::::::::::::::##;::::::`+`#@; @``.:::::'@@+;::::::'@#@      ");
     WriteHelper.Write("     @@':::::::::::;@@;::::;``. +@@@  ````;:::::'@#@@@@@#@#+@      ");
     WriteHelper.Write("      ,@@+;::::::'@##::::::```@ @@@@  +````,:::::::;''';:::+@      ");
     WriteHelper.Write("        :@##@@@@#@+::::::,````, @@@@  '`````.::::::::::::::+@      ");
     WriteHelper.Write("         #:;;'';::::::::.````.  @@@@  ````````:::::::::::::'@      ");             /* To shorten the output height
                                                                                                            * WriteHelper.Write("        `@:::::::::::::,`````+  #@@#   .``````.::::::::::::;@      ");
                                                                                                            * WriteHelper.Write("        :@::::::::::;;:``````+ `#@@#`  +```````,@:::::::::::@      ");
                                                                                                            * WriteHelper.Write("        +@::::::::::;+```````. .@@@#,  @````````@:::::::::::@`     ");
                                                                                                            * WriteHelper.Write("        @@:::::::::::@``````,, :@@@@;  ;````````,;::::::':::@;     ");
                                                                                                            * WriteHelper.Write("        @'::@::::::::#.```.#,,';@@@@+  .@@@'````@:::::::;+::@#     ");
                                                                                                            * WriteHelper.Write("        @;::#:::::::::@'``+,,,@+@@@@@  `@,,,@`.@'::::::::@::+@     ");
                                                                                                            * WriteHelper.Write("        #::;+::::::::::;#@,,,'`@@@@@@   #',,:@'::::::::::@::;@     ");
                                                                                                            * WriteHelper.Write("       ,@:::+:::::::::::::,,+;;+@@@@@  @#@',,::::::::::::@:::#     ");
                                                                                                            * WriteHelper.Write("       #@:::@:::::::::::::,,,,,,,#@@@ @,,,,,,::::::::::::@:::@;    ");
                                                                                                            * WriteHelper.Write("       @+:::@:::::::::::::,,,@;,.@@@# @,,,,,,:::::::::::';:::@@    ");
                                                                                                            * WriteHelper.Write("       @;:::;'::::::::::::,,,,@@@@@@#  '@+,,,:::::::::::@::::'@    ");
                                                                                                            * WriteHelper.Write("       #:::::@::::::::::::',,,,#@@@@#  @+,,,@::::::::::@:::::;#    ");
                                                                                                            * WriteHelper.Write("      ,@::::::@:::::::::+@:,,,,#@@@@# ',,,;@'@;::::::+@:::::::@.   ");
                                                                                                            * WriteHelper.Write("      #@:::::::@#::::;@@```':,,@@@@@# `#'@:```;@#+#@@;::::::::@+   ");
                                                                                                            * WriteHelper.Write("      @+:::::::::+@@@,``````.@@,@@@@@ .`````````````::::::::::#@   ");
                                                                                                            * WriteHelper.Write("      @;::::::::::```````````.` ####@ :`````````````::::::::::'@   ");
                                                                                                            * WriteHelper.Write("      #:::::::::::`````````````@..,`;,``````````````:::::::::::#   ");
                                                                                                            * WriteHelper.Write("     `#::::::::::;``````````````````````````````````;::::::::::@`  ");
                                                                                                            * WriteHelper.Write("     :@::::::::::;``````````````````````````````````;::::::::::@;  ");
                                                                                                            * WriteHelper.Write("     '@::::::::::;``````````````````````````````````:::::::::::@+  ");
                                                                                                            * WriteHelper.Write("     #@::::::::::,``````````````````````````````````,::::::::::@@  "); */
 }
Esempio n. 4
0
 void WriteLogo()
 {
     LogoHelper.WriteLogo();
     WriteHelper.WriteSpacer();
     WriteHelper.WriteSpacer();
 }