Ejemplo n.º 1
0
        public void Insert(int index, ICommand item)
        {
            var parsedCommand = _toStringParser.ParseCommand(item);

            _commands.Insert(index, item);
            _logger.Write($"Command \"{parsedCommand}\" inserted at \"{index}\"\n");
        }