示例#1
0
 public Waterfall(WaterfallContext waterfallContext)
 {
     _etlService       = (IStageDataService)UnityConfig.DefaultContainer.Resolve(typeof(IStageDataService), null, null);
     _migrationService = (IMigrationDataService)UnityConfig.DefaultContainer.Resolve(typeof(IMigrationDataService), null, null);
     _waterfallContext = waterfallContext;
     itemsCount        = 8;
     itemsProgress     = 1;
 }
示例#2
0
 public ETLWorker(IStageDataService etlService)
 {
     _etlService = etlService;
 }
示例#3
0
 public ETLWorker(int itemsSoFar)
 {
     _etlService   = (IStageDataService)UnityConfig.DefaultContainer.Resolve(typeof(IStageDataService), null, null);
     itemsProgress = itemsSoFar;
 }
示例#4
0
 public Waterfall(IStageDataService etlService, IMigrationDataService migrationService, WaterfallContext waterfallContext)
 {
     _etlService       = etlService;
     _migrationService = migrationService;
 }
 public ETLToLive(WaterfallContext waterfallContext)
 {
     _etlService       = (IStageDataService)UnityConfig.DefaultContainer.Resolve(typeof(IStageDataService), null, null);
     _migrationService = (IMigrationDataService)UnityConfig.DefaultContainer.Resolve(typeof(IMigrationDataService), null, null);
     _waterfallContext = waterfallContext;
 }
示例#6
0
 public WaterfallController(IClientDataService clientService, IStageDataService stageService)
 {
     this.clientService = clientService ?? throw new ArgumentNullException(nameof(clientService));
     this.stageService  = stageService ?? throw new ArgumentNullException(nameof(stageService));
 }