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); }
public static FilterField Boolean(this FilterField field) { field.Handler("Boolean").Required(true); return(field); }
public static FilterField Lookup(this FilterField field, string lookupKey) { field.Handler("Lookup").Param("LookupKey", lookupKey); return(field); }