IPackageManager Interface

Provides methods for working with packages attached to a build.

Inheritance Hierarchy

Syntax

public interface IPackageManager

Methods

Name Description
AttachPackageToBuildAsync(AttachedPackage package, System.Threading.CancellationToken cancellationToken)

Attaches the specified package to the current build.

DeactivatePackageAsync(string name, string version, string source)

Marks the specified package as inactive in the current build.

GetBuildPackagesAsync(System.Threading.CancellationToken cancellationToken)

Returns the packages attached to the current build.