NuGetSources.

HasSource(string, NuGetSourcesSettings) Method

Summary

Determines whether the specified NuGet package source exist.
Namespace
Cake.Common.Tools.NuGet.Sources
Containing Type
NuGetSources

Syntax

public bool HasSource(string source, NuGetSourcesSettings settings)

Parameters

Name Type Description
source string Path to the package(s) source.
settings NuGetSourcesSettings The settings.

Return Value

Type Description
bool Whether the specified NuGet package source exist.