3 implementations of GetLatestPackageVersions
dotnet (1)
NugetPackageDownloader\NuGetPackageDownloader.cs (1)
764public async Task<IEnumerable<NuGetVersion>> GetLatestPackageVersions(PackageId packageId, int numberOfResults, PackageSourceLocation packageSourceLocation = null, bool includePreview = false)
dotnet.Tests (1)
CommandTests\Workload\Install\FailingNuGetPackageInstaller.cs (1)
43public 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)
111public 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)
164return [.. packageDownloader.GetLatestPackageVersions(packageId, numberOfWorkloadSetsToTake, packageSourceLocation: null, includePreview: includePreviews)