public IInsertCommandBeforeOrAfterTargetSyntax InsertContent(PartialViewResult partialViewResult) { if (partialViewResult == null) { throw new ArgumentNullException("partialViewResult"); } var commandBuilder = new InsertCommandBuilder(this); commandBuilder.SetContent(partialViewResult); return(commandBuilder); }
public IInsertCommandBeforeOrAfterTargetSyntax InsertContent(string html) { if (html == null) { throw new ArgumentNullException("html"); } var commandBuilder = new InsertCommandBuilder(this); commandBuilder.SetContent(html); return(commandBuilder); }