public NegativeWordScanner(INegativeWordRepository negativeWordRepository) { NegativeWordRepository = negativeWordRepository; }
public FilterBySplittingWordsStrategy(INegativeWordRepository negativeWordRepository) { _listOfNegativeWords = negativeWordRepository.GetListOfNegativeWords().Select(x => x.ToLower()); }
public NegativeWordsDetector(INegativeWordRepository negativeWordRepository, ISearchText wordFinder) { _searchNegativeWords = negativeWordRepository.GetAll(); _wordFinder = wordFinder; }