Esempio n. 1
0
 public static TModelNode AddSearchBoxScriptWebPart <TModelNode>(this TModelNode model, SearchBoxScriptWebPartDefinition definition,
                                                                 Action <SearchBoxScriptWebPartModelNode> action)
     where TModelNode : ModelNode, IWebpartHostModelNode, new()
 {
     return(model.AddTypedDefinitionNode(definition, action));
 }
Esempio n. 2
0
 public static TModelNode AddSearchBoxScriptWebPart <TModelNode>(this TModelNode model, SearchBoxScriptWebPartDefinition definition)
     where TModelNode : ModelNode, IWebpartHostModelNode, new()
 {
     return(AddSearchBoxScriptWebPart(model, definition, null));
 }