/// <summary>
        /// Appends the content from a <see cref="PartialViewResult"/> to the elements
        /// matching a jQuery selector.
        /// </summary>
        public IAppendCommandToTargetSyntax AppendContent(PartialViewResult partialViewResult)
        {
            if (partialViewResult == null)
            throw new ArgumentNullException("partialViewResult");

              var commandBuilder = new AppendCommandBuilder(this);
              commandBuilder.SetContent(partialViewResult);
              return commandBuilder;
        }
        /// <summary>
        /// Appends HTML content to the elements matching a jQuery selector.
        /// </summary>
        public IAppendCommandToTargetSyntax AppendContent(string html)
        {
            if (html == null)
            throw new ArgumentNullException("html");

              var commandBuilder = new AppendCommandBuilder(this);
              commandBuilder.SetContent(html);
              return commandBuilder;
        }