示例#1
0
 public bool PrePassWontMatch(MatchKind kind, string path, IPathComparer comparer)
 {
     return(comparer.IndexOf(path, _text, 0, path.Length) < 0);
 }
示例#2
0
 public static bool EndsWith(this IPathComparer comparer, string value, string searchText)
 {
     value      = (value ?? string.Empty);
     searchText = (searchText ?? string.Empty);
     return(comparer.IndexOf(value, searchText, 0, value.Length) == (value.Length - searchText.Length));
 }
示例#3
0
 public bool PrePassWontMatch(MatchKind kind, string path, IPathComparer comparer) {
   return comparer.IndexOf(path, _text, 0, path.Length) < 0;
 }