Summary
Determines whether this instance can install the specified resource.
- Namespace
- Cake
.DotNetTool .Module - Containing Type
- Dot
Net Tool 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 | true if this installer can install the specified resource; otherwise false . |