DownloadToolAliases Class

Summary

Installs download: tools when the alias is called, typically inside a task, and registers them with Cake's tool locator. Unlike #tool and InstallTool, runs that don't execute the call download nothing.
Assembly
Cake.Download.Module.dll
Namespace
Cake.Download.Module
Base Types
  • Object
graph BT Type-->Base0["Object"] Type["DownloadToolAliases"] class Type type-node

Syntax

public static class DownloadToolAliases

Attributes

Type Description
NullableContextAttribute
NullableAttribute
CakeAliasCategoryAttribute
CakeNamespaceImportAttribute

Methods

Name Value Summary
DownloadTool(ICakeContext, DownloadToolSettings) IReadOnlyCollection<FilePath>
Installs the tool described by settings, which must set the package, version and URL, unless an identical install is already there, and registers its files with context.Tools.
static
DownloadTool(ICakeContext, string, string, string, DownloadToolSettings) IReadOnlyCollection<FilePath>
Installs package version from url, with settings for integrity and everything else, and registers its files with context.Tools. settings is not modified; if it also sets the package, version or URL to a different value, the call fails.
static
DownloadTool(ICakeContext, string) IReadOnlyCollection<FilePath>
Installs the tool described by a complete download: directive (the text #tool takes), unless an identical install is already there, and registers its files with context.Tools.
static
DownloadTool(ICakeContext, Uri) IReadOnlyCollection<FilePath>
Installs the tool described by a complete download: directive, the same System.Uri Frosting's CakeHost.InstallTool takes, and registers its files with context.Tools.
static

Extension Methods

Name Value Summary
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin