public static TModelNode AddDocumentSetContentsWebPart <TModelNode>(this TModelNode model, DocumentSetContentsWebPartDefinition definition,
                                                                     Action <DocumentSetContentsWebPartModelNode> action)
     where TModelNode : ModelNode, IWebpartHostModelNode, new()
 {
     return(model.AddTypedDefinitionNode(definition, action));
 }
 public static TModelNode AddDocumentSetContentsWebPart <TModelNode>(this TModelNode model, DocumentSetContentsWebPartDefinition definition)
     where TModelNode : ModelNode, IWebpartHostModelNode, new()
 {
     return(AddDocumentSetContentsWebPart(model, definition, null));
 }