This content is part of a third party extension that is not supported by the Cake project.
Summary
Determines whether this instance can install the specified resource.
- Assembly
- Cake
.Npm .Module .dll - Namespace
- Cake
.Npm .Module - Containing Type
- NpmPackageInstaller
Syntax
public bool CanInstall(PackageReference package, PackageType type)
Parameters
Name | Type | Description |
---|---|---|
package | PackageReference | The package resource. |
type | PackageType | The package type. |
Return Value
Type | Description |
---|---|
bool |
true if this installer can install the
specified resource; otherwise false .
|