public void SetUp() { _loader = TestInitializer.ServiceProvider.GetService <IHeiLoader>(); _extractor = TestInitializer.ServiceProvider.GetService <IHeiSourceExtractor>(); _extract = _extracts.First(x => x.Name.IsSameAs(nameof(HeiExtract))); _count = _extractor.Extract(_extract, _protocol).Result; }
public ExtractHeiHandler(IHeiSourceExtractor heiSourceExtractor, IMnchExtractValidator extractValidator, IHeiLoader heiLoader, IExtractHistoryRepository extractHistoryRepository) { _heiSourceExtractor = heiSourceExtractor; _extractValidator = extractValidator; _heiLoader = heiLoader; _extractHistoryRepository = extractHistoryRepository; }