public static ModelNode AddReusableHTMLItem(this ModelNode model, ReusableHTMLItemDefinition definition, Action <ModelNode> action)
 {
     return(model.AddDefinitionNode(definition, action));
 }
 public static TModelNode AddReusableHTMLItem <TModelNode>(this TModelNode model, ReusableHTMLItemDefinition definition,
                                                           Action <ReusableHTMLItemModelNode> action)
     where TModelNode : ModelNode, IListItemHostModelNode, new()
 {
     return(model.AddTypedDefinitionNode(definition, action));
 }
 public static ModelNode AddReusableHTMLItem(this ModelNode model, ReusableHTMLItemDefinition definition)
 {
     return(AddReusableHTMLItem(model, definition, null));
 }
 public static TModelNode AddReusableHTMLItem <TModelNode>(this TModelNode model, ReusableHTMLItemDefinition definition)
     where TModelNode : ModelNode, IListItemHostModelNode, new()
 {
     return(AddReusableHTMLItem(model, definition, null));
 }