public RecurringJobScheduler( [NotNull] JobStorage storage, [NotNull] IBackgroundJobClient client, [NotNull] IScheduleInstantFactory instantFactory, [NotNull] IThrottler throttler) { if (storage == null) { throw new ArgumentNullException("storage"); } if (client == null) { throw new ArgumentNullException("client"); } if (instantFactory == null) { throw new ArgumentNullException("instantFactory"); } if (throttler == null) { throw new ArgumentNullException("throttler"); } _storage = storage; _client = client; _instantFactory = instantFactory; _throttler = throttler; }
public RecurringJobScheduler( [NotNull] JobStorage storage, [NotNull] IBackgroundJobClient client, [NotNull] IScheduleInstantFactory instantFactory, [NotNull] IThrottler throttler) { if (storage == null) throw new ArgumentNullException("storage"); if (client == null) throw new ArgumentNullException("client"); if (instantFactory == null) throw new ArgumentNullException("instantFactory"); if (throttler == null) throw new ArgumentNullException("throttler"); _storage = storage; _client = client; _instantFactory = instantFactory; _throttler = throttler; }