code: def add_command(self, command):
          
          self._commands.append(command)
          self._build_command_chain(command)
docs: Adds a ICommand command to this command set.
          
          :param command: a command instance to be added