Exemple #1
0
        public ProgressMonitorWrapperJob(IAnalysisJob wrappedJob, string message)
        {
            this.wrappedJob = wrappedJob;
            monitor         = IdeApp.Workbench.ProgressMonitors.GetStatusProgressMonitor(message, null, false);
            var work = wrappedJob.GetFiles().Sum(f => wrappedJob.GetIssueProviders(f).Count());

            monitor.BeginTask(message, work);
        }
		public ProgressMonitorWrapperJob (IAnalysisJob wrappedJob, string message)
		{
			this.wrappedJob = wrappedJob;
			monitor = IdeApp.Workbench.ProgressMonitors.GetStatusProgressMonitor (message, null, false);
			var work = wrappedJob.GetFiles ().Sum (f => wrappedJob.GetIssueProviders (f).Count ());
			
			monitor.BeginTask (message, work);
		}
Exemple #3
0
 public IEnumerable <BaseCodeIssueProvider> GetIssueProviders(ProjectFile file)
 {
     return(wrappedJob.GetIssueProviders(file));
 }