raw_full_msg() public method

public raw_full_msg ( ) : string
return string
Exemplo n.º 1
0
 public static bool matches(line l, 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(l.raw_full_msg(), search))
     {
         return(cols.Any(x => matches_cell(l.part(x), search)));
     }
     else
     {
         return(false);
     }
 }
Exemplo n.º 2
0
        private bool matches_case_insensitive_any_column(line l)
        {
            string line_part = l.raw_full_msg().ToLower();

            if (compare(line_part, lo_text, lo_words))
            {
                // we need an extra step, so that we don't mistakenly match the text in the time/date column, for instance
                foreach (var type in info_type_io.searchable)
                {
                    if (compare(l.part(type).ToLower(), lo_text, lo_words))
                    {
                        return(true);
                    }
                }
            }
            return(false);
        }
Exemplo n.º 3
0
 private bool matches_case_insensitive_any_column(line l) {
     string line_part = l.raw_full_msg().ToLower();
     if ( compare(line_part, lo_text, lo_words))
         // we need an extra step, so that we don't mistakenly match the text in the time/date column, for instance
         foreach ( var type in info_type_io.searchable)
             if (compare(l.part(type).ToLower(), lo_text, lo_words))
                 return true;
     return false;
 }
Exemplo n.º 4
0
 public static bool matches(line l, 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(l.raw_full_msg(), search))
         return cols.Any(x => matches_cell(l.part(x), search));
     else
         return false;
 }