Пример #1
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();
        }