3 implementations of GetLatestPackageVersions
dotnet (1)
NugetPackageDownloader\NuGetPackageDownloader.cs (1)
764
public async Task<IEnumerable<NuGetVersion>>
GetLatestPackageVersions
(PackageId packageId, int numberOfResults, PackageSourceLocation packageSourceLocation = null, bool includePreview = false)
dotnet.Tests (1)
CommandTests\Workload\Install\FailingNuGetPackageInstaller.cs (1)
43
public Task<IEnumerable<NuGetVersion>>
GetLatestPackageVersions
(PackageId packageId, int numberOfResults, PackageSourceLocation packageSourceLocation = null, bool includePreview = false) => throw new NotImplementedException();
Microsoft.DotNet.Tools.Tests.ComponentMocks (1)
MockNuGetPackageDownloader.cs (1)
111
public Task<IEnumerable<NuGetVersion>>
GetLatestPackageVersions
(PackageId packageId, int numberOfResults, PackageSourceLocation packageSourceLocation = null, bool includePreview = false)
1 reference to GetLatestPackageVersions
dotnet (1)
Commands\Workload\Search\WorkloadSearchVersionsCommand.cs (1)
164
return [.. packageDownloader.
GetLatestPackageVersions
(packageId, numberOfWorkloadSetsToTake, packageSourceLocation: null, includePreview: includePreviews)