Пример #1
0
 public CardSearcher(CardRepository repository, CardDocumentAdapter adapter)
     : base(new CardSpellchecker(repository, adapter), adapter)
 {
     _repo                = repository;
     _adapter             = adapter;
     IndexDirectoryParent = AppDir.Data.AddPath("index").AddPath("search");
 }
Пример #2
0
 public CardQueryParser(
     MtgAnalyzer analyzer,
     CardRepository repository,
     CardDocumentAdapter adapter,
     string language)
     : base(analyzer, adapter, language)
 {
     _repository = repository;
 }
Пример #3
0
 public CardSpellchecker(CardRepository repo, CardDocumentAdapter adapter)
     : base(adapter)
 {
     IndexDirectoryParent = AppDir.Data.AddPath("index").AddPath("suggest");
     _repo = repo;
 }
Пример #4
0
 public CardSearcherState(CardDocumentAdapter adapter, CardRepository repo)
     : base(adapter)
 {
     _repo = repo;
 }