Example #1
0
 public PeriodEndController(
     IPeriodService periodService,
     IPeriodEndService periodEndService,
     IStateService stateService,
     ILogger logger,
     TelemetryClient telemetryClient)
     : base(logger, telemetryClient)
 {
     _periodService    = periodService;
     _periodEndService = periodEndService;
     _stateService     = stateService;
 }
 public PeriodEndTimedHostedService(
     ILogger logger,
     IPeriodEndService periodEndService,
     IHubEventBase eventBase,
     ISerialisationHelperService serialisationHelperService,
     PeriodEndHub periodEndHub)
 : base("Period End", logger, serialisationHelperService)
 {
     _logger = logger;
     _periodEndService = periodEndService;
     _periodEndHub = periodEndHub;
     eventBase.HubCallback += RegisterClient;
 }
Example #3
0
 public PeriodEndReportController(
     IPeriodService periodService,
     IPeriodEndService periodEndService,
     IStorageService storageService,
     ILogger logger,
     TelemetryClient telemetryClient)
     : base(logger, telemetryClient)
 {
     _logger           = logger;
     _periodService    = periodService;
     _periodEndService = periodEndService;
     _storageService   = storageService;
 }
Example #4
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;
 }
Example #5
0
 public PeriodEndHub(
     IHubEventBase eventBase,
     IHubContext <PeriodEndHub> hubContext,
     IPeriodEndService periodEndService,
     IEmailService emailService,
     IStateService stateService,
     IPeriodService periodService,
     IApiAvailabilityService apiAvailabilityService,
     ILogger logger)
 {
     _eventBase              = eventBase;
     _hubContext             = hubContext;
     _periodEndService       = periodEndService;
     _emailService           = emailService;
     _stateService           = stateService;
     _periodService          = periodService;
     _apiAvailabilityService = apiAvailabilityService;
     _logger = logger;
 }
Example #6
0
 public PeriodEndStoppedEventHandler(IPaymentLogger logger, IExecutionContext executionContext, IPeriodEndService periodEndService)
 {
     this.logger           = logger ?? throw new ArgumentNullException(nameof(logger));
     this.executionContext = executionContext ?? throw new ArgumentNullException(nameof(executionContext));
     this.periodEndService = periodEndService ?? throw new ArgumentNullException(nameof(periodEndService));
 }
Example #7
0
 public PeriodEndHandler(IPaymentLogger logger, IPeriodEndService periodEndService)
 {
     this.logger           = logger ?? throw new ArgumentNullException(nameof(logger));
     this.periodEndService = periodEndService ?? throw new ArgumentNullException(nameof(periodEndService));
 }