public NCSPeriodEndPrepTimedHostedService(
     ILogger logger,
     INCSPeriodEndService periodEndService,
     IPeriodEndPrepHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     NCSPeriodEndPrepHub periodEndPrepHub)
     : base("NCS Period End Prep", logger, serialisationHelperService)
 {
     _logger           = logger;
     _periodEndService = periodEndService;
     _periodEndPrepHub = periodEndPrepHub;
     eventBase.PeriodEndHubPrepCallback += RegisterClient;
 }
Beispiel #2
0
 public PeriodEndPrepHub(
     IPeriodEndPrepHubEventBase eventBase,
     IHubContext <PeriodEndPrepHub> hubContext,
     IPeriodEndService periodEndService,
     IEmailService emailService,
     IStateService stateService,
     IPeriodService periodService,
     ILogger logger)
 {
     _eventBase        = eventBase;
     _hubContext       = hubContext;
     _periodEndService = periodEndService;
     _emailService     = emailService;
     _stateService     = stateService;
     _periodService    = periodService;
     _logger           = logger;
 }