public void Execute(string input)
        {
            var commandList = commandMapper.Map(input);

            commandInvoker.SetCommands(commandList);
            commandInvoker.InvokeCommands();
        }
Exemple #2
0
        public void Execute(string commandInput)
        {
            var commands = _commandManager.Parse(commandInput);

            _commandInvoker.SetCommands(commands);
            _commandInvoker.InvokeAll();
        }
Exemple #3
0
        public void Execute(string command)
        {
            var commands = _commandParser.ParseCommand(command);

            _commandInvoker.SetCommands(commands);
            _commandInvoker.InvokeAll();
        }
        public void Execute(string commandString)
        {
            var commandList = commandParser.Parse(commandString);

            commandInvoker.SetCommands(commandList);
            commandInvoker.InvokeAll();
        }