Click or drag to resize

IPackageManager Interface

Manages packages within a group of package repositories.

Namespace: Demo3D.PackageManager
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public interface IPackageManager

The IPackageManager type exposes the following members.

Properties
 NameDescription
Public propertyAvailablePackages The packages available to install. Packages from the feed are filtered using CanInstall(PackageVersion).
Public propertyInstalledPackages The packages currently installed on the target.
Public propertyPackageDependencies The root package dependencies for the target.
Public propertyTarget The target for which packages are managed.
Public propertyUpdates The updates available for installed packages.
Top
Methods
 NameDescription
Public methodCanInstall Returns true if the package manager can install the package on the target.
Public methodGetUpdates Returns the updates available for installed packages, with filtering.
Public methodInstall(PackageVersion) Install the given package, from the feed (PackageFeed).
Public methodInstall(String, SemVersion) Installs the latest package with the specified name, or an exact version if specified. Installs all dependencies for the package.
Public methodRestore Installs any missing dependencies for the target.
Public methodUninstall Uninstalls the package with the specified name.
Top
See Also