protected override FieldDefinition GetFieldDefinitionTemplate() { var def = new HTMLFieldDefinition { }; return(def); }
public static ModelNode AddHTMLField(this ModelNode model, HTMLFieldDefinition definition, Action <ModelNode> action) { return(model.AddDefinitionNode(definition, action)); }
public static ModelNode AddHTMLField(this ModelNode model, HTMLFieldDefinition definition) { return(AddHTMLField(model, definition, null)); }
public static TModelNode AddHTMLField <TModelNode>(this TModelNode model, HTMLFieldDefinition definition, Action <HTMLFieldModelNode> action) where TModelNode : ModelNode, IFieldHostModelNode, new() { return(model.AddTypedDefinitionNode(definition, action)); }
public static TModelNode AddHTMLField <TModelNode>(this TModelNode model, HTMLFieldDefinition definition) where TModelNode : ModelNode, IFieldHostModelNode, new() { return(AddHTMLField(model, definition, null)); }