コード例 #1
0
 public PeriodEndPrepController(
     IPeriodService periodService,
     INCSPeriodEndService periodEndService,
     IStateService stateService,
     ILogger logger,
     TelemetryClient telemetryClient)
     : base(logger, telemetryClient)
 {
     _periodService    = periodService;
     _periodEndService = periodEndService;
     _stateService     = stateService;
 }
 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;
 }
 public PeriodEndReportController(
     IPeriodService periodService,
     INCSPeriodEndService periodEndService,
     IStorageService storageService,
     ILogger logger,
     TelemetryClient telemetryClient)
     : base(logger, telemetryClient)
 {
     _logger           = logger;
     _periodService    = periodService;
     _periodEndService = periodEndService;
     _storageService   = storageService;
 }
コード例 #4
0
 public NCSPeriodEndHub(
     IHubEventBase eventBase,
     IHubContext <NCSPeriodEndHub> hubContext,
     INCSPeriodEndService periodEndService,
     IStateService stateService,
     IPeriodService periodService,
     ILogger logger)
 {
     _eventBase        = eventBase;
     _hubContext       = hubContext;
     _periodEndService = periodEndService;
     _stateService     = stateService;
     _periodService    = periodService;
     _logger           = logger;
 }