Пример #1
0
		public JobContext(IAnalysisJob job, AnalysisJobQueue queue, CodeAnalysisBatchRunner runner)
		{
			if (job == null)
				throw new ArgumentNullException ("job");
			if (queue == null)
				throw new ArgumentNullException ("queue");
			if (runner == null)
				throw new ArgumentNullException ("runner");
			this.job = job;
			this.queue = queue;
			this.runner = runner;
		}
Пример #2
0
 public JobContext(IAnalysisJob job, AnalysisJobQueue queue, CodeAnalysisBatchRunner runner)
 {
     if (job == null)
     {
         throw new ArgumentNullException("job");
     }
     if (queue == null)
     {
         throw new ArgumentNullException("queue");
     }
     if (runner == null)
     {
         throw new ArgumentNullException("runner");
     }
     this.job    = job;
     this.queue  = queue;
     this.runner = runner;
 }