Exemple #1
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="T:Quartz.Impl.StdSchedulerFactory" /> class.
 /// </summary>
 /// <param name="jobFactory">Job factory.</param>
 public AutofacSchedulerFactory(AutofacJobFactory 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="jobFactory">Job factory.</param>
 /// <exception cref="ArgumentNullException"><paramref name="jobFactory" /> is <see langword="null" />.</exception>
 public AutofacSchedulerFactory([NotNull] AutofacJobFactory jobFactory)
 {
     if (jobFactory == null)
     {
         throw new ArgumentNullException(nameof(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 AutofacSchedulerFactory(NameValueCollection props, [NotNull] AutofacJobFactory jobFactory)
     : base(props)
 {
     if (jobFactory == null)
     {
         throw new ArgumentNullException(nameof(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>
 public AutofacSchedulerFactory(NameValueCollection props, AutofacJobFactory jobFactory)
     : base(props)
 {
     _jobFactory = jobFactory;
 }
 /// <summary>
 ///     Initializes a new instance of the <see cref="T:Quartz.Impl.StdSchedulerFactory" /> class.
 /// </summary>
 /// <param name="jobFactory">Job factory.</param>
 public AutofacSchedulerFactory(AutofacJobFactory jobFactory)
 {
     if (jobFactory == null) throw new ArgumentNullException("jobFactory");
     _jobFactory = jobFactory;
 }
Exemple #6
0
 /// <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>
 public AutofacSchedulerFactory(NameValueCollection props, AutofacJobFactory jobFactory)
     : base(props)
 {
     _jobFactory = jobFactory;
 }