public bool IsMatch(string word, StringComparison opt) { if (!string.IsNullOrEmpty(word)) { if (Nickname.IndexOf(word, opt) > -1 || TextFromApi.IndexOf(word, opt) > -1 || ScreenName.IndexOf(word, opt) > -1) { return(true); } } return(false); }
public bool IsMatch(string word, StringComparison opt) { if (!string.IsNullOrEmpty(word)) { if (Nickname.IndexOf(word, opt) > -1 || TextFromApi.IndexOf(word, opt) > -1 || ScreenName.IndexOf(word, opt) > -1) { return(true); } } return(false); }