Example #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");
 }
Example #2
0
 public CardQueryParser(
     MtgAnalyzer analyzer,
     CardRepository repository,
     CardDocumentAdapter adapter,
     string language)
     : base(analyzer, adapter, language)
 {
     _repository = repository;
 }
Example #3
0
 public CardSpellchecker(CardRepository repo, CardDocumentAdapter adapter)
     : base(adapter)
 {
     IndexDirectoryParent = AppDir.Data.AddPath("index").AddPath("suggest");
     _repo = repo;
 }
Example #4
0
 public CardSearcherState(CardDocumentAdapter adapter, CardRepository repo)
     : base(adapter)
 {
     _repo = repo;
 }