void RestoreWithProgressMonitor (ProgressMonitorStatusMessage progressMessage) { var runner = new PackageRestoreRunner (solution); if (singleProject != null) { runner.Run (singleProject, progressMessage); } else { runner.Run (progressMessage); } RestoreFailed = runner.RestoreFailed; } }