IPackage |
public interface IPackageManager
The IPackageManager type exposes the following members.
| Name | Description | |
|---|---|---|
| AvailablePackages | The packages available to install. Packages from the feed are filtered using CanInstall(PackageVersion). | |
| InstalledPackages | The packages currently installed on the target. | |
| PackageDependencies | The root package dependencies for the target. | |
| Target | The target for which packages are managed. | |
| Updates | The updates available for installed packages. |
| Name | Description | |
|---|---|---|
| CanInstall | Returns true if the package manager can install the package on the target. | |
| GetUpdates | Returns the updates available for installed packages, with filtering. | |
| Install(PackageVersion) | Install the given package, from the feed (PackageFeed). | |
| Install(String, SemVersion) | Installs the latest package with the specified name, or an exact version if specified. Installs all dependencies for the package. | |
| Restore | Installs any missing dependencies for the target. | |
| Uninstall | Uninstalls the package with the specified name. |