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); }
public IEnumerable <BaseCodeIssueProvider> GetIssueProviders(ProjectFile file) { return(wrappedJob.GetIssueProviders(file)); }