NugetPackageDownloader\NuGetPackageDownloader.cs (14)
159public async Task<string> DownloadPackageAsync(PackageId packageId,
301public async Task<string> GetPackageUrl(PackageId packageId,
371private async Task<(PackageSource, NuGetVersion)> GetPackageSourceAndVersion(PackageId packageId,
403private static string GetNupkgUrl(string baseUri, PackageId id, NuGetVersion version) => baseUri + id.ToString() + "/" + version.ToNormalizedString() + "/" + id.ToString() +
487private List<PackageSource> LoadDefaultSources(PackageId packageId, PackageSourceLocation packageSourceLocation = null, PackageSourceMapping packageSourceMapping = null)
563public IEnumerable<PackageSource> LoadNuGetSources(PackageId packageId, PackageSourceLocation packageSourceLocation = null, PackageSourceMapping packageSourceMapping = null)
784public async Task<NuGetVersion> GetBestPackageVersionAsync(PackageId packageId,
798public async Task<(NuGetVersion version, PackageSource source)> GetBestPackageVersionAndSourceAsync(PackageId packageId,
933public async Task<NuGetVersion> GetLatestPackageVersion(PackageId packageId,
940public async Task<IEnumerable<NuGetVersion>> GetLatestPackageVersions(PackageId packageId, int numberOfResults, PackageSourceLocation packageSourceLocation = null, bool includePreview = false)
953PackageId packageId = new(idStem);
965public async Task<IEnumerable<NuGetVersion>> GetPackageVersionsAsync(PackageId packageId, string versionPrefix = null, bool allowPrerelease = false, PackageSourceLocation packageSourceLocation = null, CancellationToken cancellationToken = default)
992private async Task<IEnumerable<NuGetVersion>> GetPackageVersionsForSource(AutoCompleteResource autocomplete, PackageId packageId, string versionPrefix, bool allowPrerelease, CancellationToken cancellationToken)
1011private static async Task<IEnumerable<string>> GetPackageIdsForSource(AutoCompleteResource autocomplete, PackageId packageId, bool allowPrerelease, CancellationToken cancellationToken)
ToolPackage\ToolPackageDownloaderBase.cs (14)
69PackageId packageId,
79PackageId packageId,
84PackageId packageId,
92protected abstract ToolConfiguration GetToolConfiguration(PackageId id,
96public IToolPackage InstallPackage(PackageLocation packageLocation, PackageId packageId,
154PackageId packageId,
237PackageId packageId,
269PackageId packageId,
287if (ResolveRidSpecificPackage(packageId, packageVersion, packageDownloadDir, assetFileDirectory, verbosity) is PackageId ridSpecificPackage)
299PackageId packageId,
313if (ResolveRidSpecificPackage(packageId, packageVersion, _localToolDownloadDir, _localToolAssetDir, verbosity) is PackageId ridSpecificPackage)
333private PackageId? ResolveRidSpecificPackage(PackageId packageId,
402PackageId packageId,