WikiFunctions.CaseInsensitiveArticleComparerWithKeywords.Matches C# (CSharp) Method

Matches() public method

public Matches ( Article article ) : bool
article Article
return bool
        public bool Matches(Article article)
        {
            string text = Tools.ConvertFromLocalLineEndings(article.ArticleText);
            return text.IndexOf(Tools.ApplyKeyWords(article.Name, Comparator), StringComparison.CurrentCultureIgnoreCase) >= 0;
        }
CaseInsensitiveArticleComparerWithKeywords