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