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