コード例 #1
0
 public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IGbvScreeningLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IGbvScreeningSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(GbvScreeningExtract)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
コード例 #2
0
 public ExtractGbvScreeningHandler(IGbvScreeningSourceExtractor GbvScreeningSourceExtractor, IExtractValidator extractValidator, IGbvScreeningLoader GbvScreeningLoader, IClearDwhExtracts clearDwhExtracts, IExtractHistoryRepository extractHistoryRepository)
 {
     _GbvScreeningSourceExtractor = GbvScreeningSourceExtractor;
     _extractValidator            = extractValidator;
     _GbvScreeningLoader          = GbvScreeningLoader;
     _clearDwhExtracts            = clearDwhExtracts;
     _extractHistoryRepository    = extractHistoryRepository;
 }