Summary
Determines whether the specified NuGet source exists.
- Namespace
- Cake
.Common .Tools .DotNet .NuGet .Source - Containing Type
- DotNetNuGetSourcer
Syntax
public bool HasSource(string name, DotNetNuGetSourceSettings settings)
Parameters
Name | Type | Description |
---|---|---|
name | string | The name of the source. |
settings | Dot |
The settings. |
Return Value
Type | Description |
---|---|
bool | Whether the specified NuGet source exists. |