public FileWordRepository(IWordLoader wordLoader) { _wordLoader = wordLoader; _words = _wordLoader .LoadFromFile(filePath) .OrderBy(w => w.Text); }
public WordsSeeder(IWordsRepository wordsRepository, IWordLoader wordLoader, IAppConfig appConfig) { _wordsRepository = wordsRepository; _wordLoader = wordLoader; _appConfig = appConfig; }
public WordSearcher(IWordLoader wordLoader, IRegexBuilder regexBuilder) { _wordLoader = wordLoader; _regexBuilder = regexBuilder; }