protected JobStatusService(IJobStorageService jobStorageService, IPaymentLogger logger, ITelemetry telemetry, IJobStatusEventPublisher eventPublisher, IJobServiceConfiguration config)
 {
     Config = config ?? throw new ArgumentNullException(nameof(config));
     this.JobStorageService = jobStorageService ?? throw new ArgumentNullException(nameof(jobStorageService));
     this.Logger            = logger ?? throw new ArgumentNullException(nameof(logger));
     this.Telemetry         = telemetry ?? throw new ArgumentNullException(nameof(telemetry));
     this.EventPublisher    = eventPublisher ?? throw new ArgumentNullException(nameof(eventPublisher));
 }
 public PeriodEndStartJobStatusService(
     IJobStorageService jobStorageService,
     IPaymentLogger logger,
     ITelemetry telemetry,
     IJobStatusEventPublisher eventPublisher,
     IJobServiceConfiguration config,
     IJobsDataContext context)
     : base(jobStorageService, logger, telemetry, eventPublisher, config)
 {
     this.context = context ?? throw new ArgumentNullException(nameof(context));
 }
Beispiel #3
0
 public EarningsJobStatusService(IJobStorageService jobStorageService, IPaymentLogger logger,
                                 ITelemetry telemetry, IJobStatusEventPublisher eventPublisher, IJobServiceConfiguration config)
     : base(jobStorageService, logger, telemetry, eventPublisher, config)
 {
 }