Пример #1
0
		public void SetUp ()
		{
			queue = new AnalysisJobQueue ();
			file1 = new ProjectFile ("file1.cs");
			file2 = new ProjectFile ("file2.cs");
			file3 = new ProjectFile ("file3.cs");
			job = new SimpleAnalysisJob (new [] { file1, file2 });
		}
Пример #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;
		}
Пример #3
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;
 }