NuGetList.

List(string, NuGetListSettings) Method

Summary

Lists available packages with their versions.
Namespace
Cake.Common.Tools.NuGet.List
Containing Type
NuGetList

Syntax

public IEnumerable<NuGetListItem> List(string packageId, NuGetListSettings settings)

Parameters

Name Type Description
packageId string The source package id. If it equals an empty string, it will match all packageIds.
settings NuGetListSettings The settings.

Return Value

Type Description
IEnumerable<NuGetListItem> A list of available packages.