Beispiel #1
0
        public void Run()
        {
            _outputService.PrintWelcome();
            string message = string.Empty;

            _outputService.PrintInputPrompt();
            _inputService.GetInput();

            while (!_inputService.ExitWasRequested())
            {
                message = _messageService.GetMessage();
                _outputService.PrintMessage(message);
                _outputService.PrintInputPrompt();
                _inputService.GetInput();
            }

            _outputService.PrintExit();
        }