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