void WriteExitPrompt() { WriteHelper.WriteSpacer(); WriteHelper.WriteSpacer(); WriteHelper.WriteSpacer(); WriteHelper.WriteSpacer(); System.Console.WriteLine("Press ENTER to exit"); System.Console.ReadLine(); }
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); }
/// <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(" #@::::::::::,``````````````````````````````````,::::::::::@@ "); */ }
void WriteLogo() { LogoHelper.WriteLogo(); WriteHelper.WriteSpacer(); WriteHelper.WriteSpacer(); }