Exemple #1
0
 public static FilterField Enum(this FilterField field, Type enumType, string enumKey = null)
 {
     field.Handler("Enum");
     field.Param("Values", GetEnumOptionList(enumType, enumKey ?? enumType.Name));
     return(field);
 }
Exemple #2
0
 public static FilterField Boolean(this FilterField field)
 {
     field.Handler("Boolean").Required(true);
     return(field);
 }
Exemple #3
0
 public static FilterField Lookup(this FilterField field, string lookupKey)
 {
     field.Handler("Lookup").Param("LookupKey", lookupKey);
     return(field);
 }