Example #1
0
        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));
        }
Example #2
0
 protected override bool MatchItem(T value)
 {
     return(StringPropertyQuery.MatchString(Helpers.GetName(value), query, type, false));
 }