NuGetSetApiKey Class

Summary

The NuGet set API key used to set API key used for API/feed authentication.
graph BT Type-->Base0["NuGetTool<NuGetSetApiKeySettings>"] Base0-->Base1["Tool<NuGetSetApiKeySettings>"] Base1-->Base2["object"] Type["NuGetSetApiKey"] class Type type-node

Syntax

public sealed class NuGetSetApiKey : NuGetTool<NuGetSetApiKeySettings>

Constructors

Methods

Name Value Summary
SetApiKey(string, string, NuGetSetApiKeySettings) void
Installs NuGet packages using the specified package id and settings.

Extension Methods

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