Beispiel #1
0
 void WriteExitPrompt()
 {
     WriteHelper.WriteSpacer();
     WriteHelper.WriteSpacer();
     WriteHelper.WriteSpacer();
     WriteHelper.WriteSpacer();
     System.Console.WriteLine("Press ENTER to exit");
     System.Console.ReadLine();
 }
Beispiel #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);
        }
Beispiel #3
0
 void WriteLogo()
 {
     LogoHelper.WriteLogo();
     WriteHelper.WriteSpacer();
     WriteHelper.WriteSpacer();
 }