public UpdatedPackages2 (
			IPackageManagementProject2 project,
			IPackageRepository aggregateRepository)
			: this (
				project.GetPackages (),
				aggregateRepository)
		{
		}
 public UpdatedPackages2(
     IPackageManagementProject2 project,
     IPackageRepository aggregateRepository)
     : this(
         project.GetPackages(),
         aggregateRepository)
 {
 }
示例#3
0
        void ReinstallAllPackagesInProject(IPackageManagementProject2 project)
        {
            // No need to update dependencies since all packages will be reinstalled.
            IgnoreDependencies = true;

            foreach (IPackage package in project.GetPackages())
            {
                ReinstallPackageInProject(project, package);
            }
        }
        IQueryable <IPackage> GetPackagesFromSelectedProjectOrSolution()
        {
            IPackageManagementProject2 project = GetSelectedProject();

            if (project != null)
            {
                return(project.GetPackages());
            }
            return(GetSolutionPackages());
        }
		void ReinstallAllPackagesInProject (IPackageManagementProject2 project)
		{
			// No need to update dependencies since all packages will be reinstalled.
			IgnoreDependencies = true;

			foreach (IPackage package in project.GetPackages ()) {
				ReinstallPackageInProject (project, package);
			}
		}