Beispiel #1
0
 public ExpiredZoneServerCleanupJob(TimedJobConfig <ExpiredZoneServerCleanupJob> jobConfig,
                                    ILogger <ReOccurringTimedJob> logger,
                                    [NotNull] RepositoryFactory <IZoneServerRepository> zoneServerRepository)
     : base(jobConfig, logger)
 {
     ZoneServerRepository = zoneServerRepository ?? throw new ArgumentNullException(nameof(zoneServerRepository));
 }
Beispiel #2
0
 protected ReOccurringTimedJob([NotNull] TimedJobConfig jobConfig,
                               [NotNull] ILogger <ReOccurringTimedJob> logger)
 {
     JobConfig = jobConfig ?? throw new ArgumentNullException(nameof(jobConfig));
     Logger    = logger ?? throw new ArgumentNullException(nameof(logger));
 }