Example #1
0
        public void Run()
        {
            _textBlobs.Instructions();
            string input;

            while ("q" != (input = _ux.WaitForInput()))
            {
                try
                {
                    _ux.DisplayResult(_processRequest.ProcessInput(input));
                }
                catch (Exception ex)
                {
                    _ux.DisplayError(ex);
                }

                _textBlobs.Instructions();
            }

            _textBlobs.ExitMessage();
        }