Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 public ExtractHeiHandler(IHeiSourceExtractor heiSourceExtractor, IMnchExtractValidator extractValidator, IHeiLoader heiLoader, IExtractHistoryRepository extractHistoryRepository)
 {
     _heiSourceExtractor       = heiSourceExtractor;
     _extractValidator         = extractValidator;
     _heiLoader                = heiLoader;
     _extractHistoryRepository = extractHistoryRepository;
 }
Exemplo n.º 3
0
 public void SetUp()
 {
     _extractor = TestInitializer.ServiceProvider.GetService <IHeiSourceExtractor>();
 }