示例#1
0
 public JobConcernController(
     IJobConcernService jobConcernService,
     ILogger logger,
     TelemetryClient telemetryClient,
     IJsonSerializationService jsonSerializationService)
     : base(logger, telemetryClient)
 {
     _jobConcernService        = jobConcernService;
     _jsonSerializationService = jsonSerializationService;
 }
 public JobConcernTimedHostedService(
     IJobConcernService jobConcernService,
     IJobConcernHubEventBase hubEventBase,
     JobConcernHub jobConcernHub,
     ISerialisationHelperService serialisationHelperService,
     ILogger logger)
     : base("Job Concern", logger, serialisationHelperService)
 {
     hubEventBase.ClientHeartbeatCallback += RegisterClient;
     _jobConcernService = jobConcernService;
     _jobConcernHub     = jobConcernHub;
     _logger            = logger;
 }