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 ModelNode AddMediaField(this ModelNode model, MediaFieldDefinition definition)
 {
     return AddMediaField(model, definition, null);
 }