public BreakEfficiencyOutputFileProcessor(IEfficiencySettingsRepository efficiencySettingsRepository, IRepositoryFactory repositoryFactory, IAuditEventRepository auditEventRepository, IOutputDataSnapshot dataSnapshot)
 {
     _efficiencySettingsRepository = efficiencySettingsRepository;
     _dataSnapshot         = dataSnapshot;
     _repositoryFactory    = repositoryFactory;
     _auditEventRepository = auditEventRepository;
 }
示例#2
0
 public KPICalculationContext(IOutputDataSnapshot snapshot, RunWithScenarioReference runWithScenario)
 {
     ScenarioId      = runWithScenario.ScenarioId;
     Snapshot        = snapshot;
     ActiveCampaigns = new Lazy <IEnumerable <Campaign> >(GetActiveCampaigns, true);
     CampaignMetrics = new Lazy <IDictionary <string, IEnumerable <RecommendationsByScenarioReduceResult> > >(GetCampaignMetrics, true);
     SmoothCampaigns = new Lazy <IEnumerable <Campaign> >(GetSmoothCampaigns, true);
 }
 public SpotsReqmOutputFileProcessor(
     IOutputDataSnapshot dataSnapshot,
     IAuditEventRepository auditEventRepository,
     ICampaignRepository campaignRepository,
     IMapper mapper)
 {
     _dataSnapshot       = dataSnapshot;
     _audit              = auditEventRepository;
     _campaignRepository = campaignRepository;
     _mapper             = mapper;
 }
示例#4
0
 public FailuresFileProcessor(IOutputDataSnapshot dataSnapshot, IAuditEventRepository audit)
 {
     _dataSnapshot = dataSnapshot;
     _audit        = audit;
 }
 public ScenarioCampaignFailureOutputFileProcessor(IOutputDataSnapshot dataSnapshot, IAuditEventRepository auditEventRepository)
 {
     _dataSnapshot         = dataSnapshot;
     _auditEventRepository = auditEventRepository;
 }
 public ScenarioCampaignResultsFileProcessor(IOutputDataSnapshot dataSnapshot, IAuditEventRepository auditEventRepository)
 {
     _dataSnapshot = dataSnapshot;
     _audit        = auditEventRepository;
 }