public LuceneService(LuceneSharedResourcesService resources, ArchiveService archive, IOptionsMonitor <LuceneServiceOptions> options) { _rootPath = options.CurrentValue.RootPath; _archive = archive; _resources = resources; }
public RestoreService(ArchiveService archive, LuceneService lucene, IOptionsMonitor <RestoreServiceOptions> options) { _archive = archive; _lucene = lucene; _options = options.CurrentValue; }