ProgressMonitorStatusMessage CreateProgressMessage(IEnumerable <ReinstallPackageAction> actions)
 {
     if (actions.Count() == 1)
     {
         return(ProgressMonitorStatusMessageFactory.CreateRetargetingSinglePackageMessage(actions.First().PackageId));
     }
     return(ProgressMonitorStatusMessageFactory.CreateRetargetingPackagesInProjectMessage(actions.Count()));
 }