예제 #1
0
 /// <summary>
 /// Create a JobRunShell instance with the given settings.
 /// </summary>
 /// <param name="jobRunShellFactory">A handle to the <see cref="IJobRunShellFactory" /> that produced
 /// this <see cref="JobRunShell" />.</param>
 /// <param name="scheduler">The <see cref="IScheduler" /> instance that should be made
 /// available within the <see cref="JobExecutionContext" />.</param>
 /// <param name="schdCtxt">the <see cref="SchedulingContext" /> that should be used by the
 /// <see cref="JobRunShell" /> when making updates to the <see cref="IJobStore" />.</param>
 public JobRunShell(IJobRunShellFactory jobRunShellFactory, IScheduler scheduler, SchedulingContext schdCtxt)
 {
     this.jobRunShellFactory = jobRunShellFactory;
     this.scheduler          = scheduler;
     this.schdCtxt           = schdCtxt;
     log = LogManager.GetLogger(GetType());
 }
예제 #2
0
		/// <summary>
		/// Create a JobRunShell instance with the given settings.
		/// </summary>
		/// <param name="jobRunShellFactory">A handle to the <see cref="IJobRunShellFactory" /> that produced
		/// this <see cref="JobRunShell" />.</param>
		/// <param name="scheduler">The <see cref="IScheduler" /> instance that should be made
		/// available within the <see cref="JobExecutionContext" />.</param>
		/// <param name="schdCtxt">the <see cref="SchedulingContext" /> that should be used by the
		/// <see cref="JobRunShell" /> when making updates to the <see cref="IJobStore" />.</param>
		public JobRunShell(IJobRunShellFactory jobRunShellFactory, IScheduler scheduler, SchedulingContext schdCtxt)
		{
			this.jobRunShellFactory = jobRunShellFactory;
			this.scheduler = scheduler;
			this.schdCtxt = schdCtxt;
            log = LogManager.GetLogger(GetType());
		}