public BreakEfficiencyOutputFileProcessor(IEfficiencySettingsRepository efficiencySettingsRepository, IRepositoryFactory repositoryFactory, IAuditEventRepository auditEventRepository, IOutputDataSnapshot dataSnapshot) { _efficiencySettingsRepository = efficiencySettingsRepository; _dataSnapshot = dataSnapshot; _repositoryFactory = repositoryFactory; _auditEventRepository = auditEventRepository; }
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; }
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; }