예제 #1
0
 public void SetUp()
 {
     _loader    = TestInitializer.ServiceProvider.GetService <IAncVisitLoader>();
     _extractor = TestInitializer.ServiceProvider.GetService <IAncVisitSourceExtractor>();
     _extract   = _extracts.First(x => x.Name.IsSameAs(nameof(AncVisitExtract)));
     _count     = _extractor.Extract(_extract, _protocol).Result;
 }
예제 #2
0
 public ExtractAncVisitHandler(IAncVisitSourceExtractor ancVisitSourceExtractor, IMnchExtractValidator extractValidator, IAncVisitLoader ancVisitLoader, IExtractHistoryRepository extractHistoryRepository)
 {
     _ancVisitSourceExtractor  = ancVisitSourceExtractor;
     _extractValidator         = extractValidator;
     _ancVisitLoader           = ancVisitLoader;
     _extractHistoryRepository = extractHistoryRepository;
 }
 public void SetUp()
 {
     _extractor = TestInitializer.ServiceProvider.GetService <IAncVisitSourceExtractor>();
 }