コード例 #1
0
        protected override FieldDefinition GetFieldDefinitionTemplate()
        {
            var def = new HTMLFieldDefinition
            {
            };


            return(def);
        }
コード例 #2
0
 public static ModelNode AddHTMLField(this ModelNode model, HTMLFieldDefinition definition, Action <ModelNode> action)
 {
     return(model.AddDefinitionNode(definition, action));
 }
コード例 #3
0
 public static ModelNode AddHTMLField(this ModelNode model, HTMLFieldDefinition definition)
 {
     return(AddHTMLField(model, definition, null));
 }
コード例 #4
0
 public static TModelNode AddHTMLField <TModelNode>(this TModelNode model, HTMLFieldDefinition definition,
                                                    Action <HTMLFieldModelNode> action)
     where TModelNode : ModelNode, IFieldHostModelNode, new()
 {
     return(model.AddTypedDefinitionNode(definition, action));
 }
コード例 #5
0
 public static TModelNode AddHTMLField <TModelNode>(this TModelNode model, HTMLFieldDefinition definition)
     where TModelNode : ModelNode, IFieldHostModelNode, new()
 {
     return(AddHTMLField(model, definition, null));
 }