DotNetPackageDownloader Class

Summary

.NET package downloader.
graph BT Type-->Base0["DotNetTool<DotNetPackageDownloadSettings>"] Base0-->Base1["Tool<DotNetPackageDownloadSettings>"] Base1-->Base2["object"] Type["DotNetPackageDownloader"] class Type type-node

Syntax

public sealed class DotNetPackageDownloader : DotNetTool<DotNetPackageDownloadSettings>

Constructors

Methods

Name Value Summary
Download(IEnumerable<string>, DotNetPackageDownloadSettings) void
Downloads NuGet packages to disk without changing project references.

Extension Methods

Name Value Summary
Dump<DotNetPackageDownloader>() string
Get a basic string representation of specified object.
Requires the Cake.Incubator addin
IsIn<DotNetPackageDownloader>(DotNetPackageDownloader[]) bool
Checks if the source is contained in a list
Requires the Cake.Incubator addin
NotNull<DotNetPackageDownloader>(string) void
Throws an exception if the specified parameter's value is null.
Requires the Cake.Ftp addin
NotNull<DotNetPackageDownloader>(string) void
Requires the Cake.Issues addin
ThrowIfNull<DotNetPackageDownloader>(string, string) T
Throws a System.ArgumentNullException with a specific message if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ThrowIfNull<DotNetPackageDownloader>(string) T
Throws a System.ArgumentNullException if the value is null, otherwise returns the value
Requires the Cake.Incubator addin
ToDictionary() IDictionary<string, object>
Requires the Cake.DeployParams addin
ToStringWithNullMarkup() string
Requires the Cake.Issues addin