public override bool?Match(IXenObject o) { String value = CustomFieldsManager.GetCustomFieldValue(o, definition) as String; if (value == null) { return(false); } if (query == null) { return(true); } return(StringPropertyQuery.MatchString(value, query.ToLower(), type, false)); }
protected override bool MatchItem(T value) { return(StringPropertyQuery.MatchString(Helpers.GetName(value), query, type, false)); }