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