public static ConvertFromLocalLineEndings ( string input ) : string | ||
input | string | |
Résultat | string |
public bool Matches(Article article) { string text = Tools.ConvertFromLocalLineEndings(article.ArticleText); return(text.IndexOf(Tools.ApplyKeyWords(article.Name, Comparator), StringComparison.CurrentCultureIgnoreCase) >= 0); }
public bool Matches(Article article) { string text = Tools.ConvertFromLocalLineEndings(article.ArticleText); return(Regex.IsMatch(text, Tools.ApplyKeyWords(article.Name, Comparator), Options)); }
public bool Matches(Article article) { string text = Tools.ConvertFromLocalLineEndings(article.ArticleText); return(text.Contains(Tools.ApplyKeyWords(article.Name, Comparator))); }
public bool Matches(Article article) { string text = Tools.ConvertFromLocalLineEndings(article.ArticleText); return(Comparator.IsMatch(text)); }