示例#1
0
        public void Execute(string command)
        {
            var commands = _commandParser.ParseCommand(command);

            _commandInvoker.SetCommands(commands);
            _commandInvoker.InvokeAll();
        }
示例#2
0
        public void Execute(string commandInput)
        {
            var commands = _commandManager.Parse(commandInput);

            _commandInvoker.SetCommands(commands);
            _commandInvoker.InvokeAll();
        }
示例#3
0
        public void Execute(string missionCommands)
        {
            var commandList = _commandParser.Parse(missionCommands);

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

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