This content is part of a third party extension that is not supported by the Cake project.
Summary
Determines whether this installer handles the package:
download: references of type tool.
- Assembly
- Cake
.Download .Module .dll - Namespace
- Cake
.Download .Module - Containing Type
- Download
Package Installer
Syntax
public bool CanInstall(PackageReference package, PackageType type)
Parameters
| Name | Type | Description |
|---|---|---|
| package | PackageReference | The package reference. |
| type | PackageType | The package type. |
Return Value
| Type | Description |
|---|---|
| bool | for download: tools; otherwise . |
