This content is part of a third party extension that is not supported by the Cake project.
Summary
Installs the specified resource at the given location.
- Assembly
- Cake
.Chocolatey .Module .dll - Namespace
- Cake
.Chocolatey .Module - Containing Type
- Chocolatey
Package Installer
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 |
The installed files. |
