This content is part of a third party extension that is not supported by the Cake project.
Summary
Installs tools from
download: package references: downloads a file over HTTPS, verifies its SHA-256,
extracts it when it is an archive and returns the files to register with Cake's tool locator.
- Assembly
- Cake
.Download .Module .dll - Namespace
- Cake
.Download .Module - Interfaces
-
- IPackageInstaller
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type-.->Interface0["IPackageInstaller"]
Type["DownloadPackageInstaller"]
class Type type-node
Syntax
public sealed class DownloadPackageInstaller : IPackageInstaller
Attributes
| Type | Description |
|---|---|
| Nullable |
|
| NullableAttribute |
Constructors
| Name | Summary |
|---|---|
| Download |
Initializes a new instance of the DownloadPackageInstaller class.
|
Methods
| Name | Value | Summary |
|---|---|---|
| CanInstall |
bool |
Determines whether this installer handles the package:
download: references of type tool.
|
| Install |
IReadOnlyCollection |
Installs the tool into
<path>/<package>.<version>/, unless an identical install is
already there, and returns the files to register.
|
Extension Methods
| Name | Value | Summary |
|---|---|---|
| Dump |
string |
Get a basic string representation of specified object.
From LoggingExtensions
Requires the Cake.Incubator addin
|
| IsIn |
bool |
Checks if the source is contained in a list
From EnumerableExtensions
Requires the Cake.Incubator addin
|
| NotNull |
void |
Throws an exception if the specified parameter's value is null.
From Extensions
Requires the Cake.Ftp addin
|
| NotNull |
void |
From IssuesArgumentChecks
Requires the Cake.Issues addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ThrowIfNull |
T |
Throws a
System.ArgumentNullException if the value is null, otherwise returns the value
From AssertExtensions
Requires the Cake.Incubator addin
|
| ToDictionary |
IDictionary |
From ObjectHelpers
Requires the Cake.DeployParams addin
|
| To |
string |
From StringExtensions
Requires the Cake.Issues addin
|
