コード例 #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;
 }