/// <summary> /// Initializes a new instance of the <see cref="T:Quartz.Impl.StdSchedulerFactory" /> class. /// </summary> /// <param name="jobFactory">Job factory.</param> /// <exception cref="ArgumentNullException"><paramref name="jobFactory" /> is <see langword="null" />.</exception> public SchedulerFactory(JobFactory jobFactory) { if (jobFactory == null) { throw new ArgumentNullException("jobFactory"); } _jobFactory = jobFactory; }
/// <summary> /// Initializes a new instance of the <see cref="T:Quartz.Impl.StdSchedulerFactory" /> class. /// </summary> /// <param name="props">The properties.</param> /// <param name="jobFactory">Job factory</param> /// <exception cref="ArgumentNullException"><paramref name="jobFactory" /> is <see langword="null" />.</exception> public SchedulerFactory(NameValueCollection props, JobFactory jobFactory) : base(props) { if (jobFactory == null) { throw new ArgumentNullException("jobFactory"); } _jobFactory = jobFactory; }