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