public bool ShouldIgnoreWord(string word) { lock (_ignoreWords) return _ignoreWords.Contains(word); }
public bool ShouldIgnoreWord(string word) { foreach (var dictionary in _bufferSpecificDictionaries) { if (dictionary.ShouldIgnoreWord(word)) { return(true); } } return(_globalDictionary.ShouldIgnoreWord(word)); }