Exemplo n.º 1
0
 public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IOvcLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IOvcSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(OvcExtract)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
Exemplo n.º 2
0
 public ExtractOvcHandler(IOvcSourceExtractor OvcSourceExtractor, IExtractValidator extractValidator, IOvcLoader OvcLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository)
 {
     _OvcSourceExtractor       = OvcSourceExtractor;
     _extractValidator         = extractValidator;
     _OvcLoader                = OvcLoader;
     _clearDwhExtracts         = clearDwhExtracts;
     _extractHistoryRepository = extractHistoryRepository;
 }