Exemple #1
0
 public static bool matches(filter.match item, search_for search)
 {
     if (search.all_columns)
     {
         return(matches(item, info_type_io.searchable, search));
     }
     else
     {
         return(matches_cell(item.line.part(info_type.msg), search));
     }
 }
Exemple #2
0
 public static bool matches(filter.match item, IEnumerable <info_type> cols, search_for search)
 {
     // 1.6.27+ faster way to find out if the message is contained - just look at the full message (instead of looking at each part)
     if (matches_cell(item.line.raw_full_msg(), search))
     {
         return(cols.Any(x => matches_cell(item.line.part(x), search)));
     }
     else
     {
         return(false);
     }
 }
Exemple #3
0
 public static bool matches(filter.match item, IEnumerable <info_type> cols, search_for search)
 {
     return(matches(item.line, cols, search));
 }