public HourTask(IHourRepository hourRepository, IHourlyScoringLogic hourlyScoringLogic, IRatingsRepository ratingsRepository, IEventRepository eventRepository) { this.hourRepository = hourRepository; this.hourlyScoringLogic = hourlyScoringLogic; this.ratingsRepository = ratingsRepository; this.eventRepository = eventRepository; }
public void SetupServices() { this.auditAnalysisMetricLogic = this.Kernel.Get <AuditAnalysisMetricLogic>(); this.userExperienceScoringLogic = this.Kernel.Get <UserExperienceScoringLogic>(); this.batchProcessor = this.Kernel.Get <AuditBatchProcessor>(); this.hourlyScoringLogic = this.Kernel.Get <HourlyScoringLogic>(); this.serverBatcher = this.Kernel.Get <AuditServerBatcher>(); }