NuGetRepository Class

Summary

Specifies the package's source code location, allowing IDEs to download and debug the code.
Namespace
Cake.Common.Tools.NuGet.Pack
Base Types
  • object
graph BT Type-->Base0["object"] Type["NuGetRepository"] class Type type-node

Syntax

public class NuGetRepository

Properties

Name Value Summary
Branch string
Gets or sets the name of the branch within the repository.
Commit string
Gets or sets the corresponding commit ID for the specified version of the package.
Type string
Gets or sets the type of repository e.g. Git.
Url string
Gets or sets the repository's URL.

Extension Methods

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