ChocolateyPackageInstaller.

Install(PackageReference, PackageType, DirectoryPath) Method

Summary

Installs the specified resource at the given location.

Syntax

public IReadOnlyCollection<IFile> Install(PackageReference package, PackageType type, DirectoryPath path)

Parameters

Name Type Description
package PackageReference The package reference.
type PackageType The package type.
path DirectoryPath The location where to install the package.

Return Value

Type Description
IReadOnlyCollection<IFile> The installed files.