/// <summary>
 /// Returns true if the package is installed in the selected projects.
 /// </summary>
 public bool IsPackageInstalled(IPackageFromRepository package)
 {
     if (HasSingleProjectSelected())
     {
         IPackageManagementProject project = GetSingleProjectSelected(package.Repository);
         return(project.IsPackageInstalled(package));
     }
     return(Solution.IsPackageInstalled(package));
 }
		bool IsPackageInstalled (IPackageManagementProject project)
		{
			IPackage package = GetPackage ();
			return project.IsPackageInstalled (package);
		}
 protected override bool IsProjectSelected(IPackageManagementProject project, IPackageFromRepository package)
 {
     return(project.IsPackageInstalled(package));
 }
        bool IsPackageInstalled(IPackageManagementProject project)
        {
            IPackage package = GetPackage();

            return(project.IsPackageInstalled(package));
        }
		protected override bool IsProjectSelected(IPackageManagementProject project, IPackageFromRepository package)
		{
			return project.IsPackageInstalled(package);
		}
Beispiel #6
0
 bool IsPackageInstalled(IPackage package)
 {
     return(project.IsPackageInstalled(package));
 }