public void Execute()
 {
     // Queue the check for updates with the background dispatcher so
     // the NuGet addin does not create another separate Package Console.
     PackageManagementBackgroundDispatcher.Dispatch(() => {
         updatedPackagesInSolution.CheckForUpdates();
     });
 }
Пример #2
0
 void CheckForPackageUpdates(
     IProgressMonitor progressMonitor,
     ProgressMonitorStatusMessage progressMessage,
     PackageUpdatesEventMonitor eventMonitor)
 {
     updatedPackagesInSolution.CheckForUpdates();
     if (updatedPackagesInSolution.AnyUpdates())
     {
         progressMonitor.ReportSuccess(GettextCatalog.GetString("Package updates are available."));
     }
     else if (eventMonitor.WarningReported)
     {
         progressMonitor.ReportWarning(progressMessage.Warning);
     }
     else
     {
         progressMonitor.ReportSuccess(progressMessage.Success);
     }
 }
 public void Execute()
 {
     updatedPackagesInSolution.CheckForUpdates();
 }