public ConsoleController(IConsoleView view, IArgsParser <string> argsParser)
        {
            mView = view ?? throw new ArgumentNullException("view");

            mView.ClearOutput();

            mArgsParser = argsParser ?? throw new ArgumentNullException("argsParser");

            mView.OnNewCommandSubmited += _processNewCommand;

            mCommandsTable = new Dictionary <string, IConsoleCommand>();
        }
        /// <summary>
        /// The method clears up current output buffer of the console's view
        /// </summary>

        public void ClearOutput() => mView?.ClearOutput();