NugetPackageDownloader\NuGetPackageDownloader.cs (14)
157public async Task<string> DownloadPackageAsync(PackageId packageId,
299public async Task<string> GetPackageUrl(PackageId packageId,
379private async Task<(PackageSource, NuGetVersion)> GetPackageSourceAndVersion(PackageId packageId,
411private static string GetNupkgUrl(string baseUri, PackageId id, NuGetVersion version) => baseUri + id.ToString() + "/" + version.ToNormalizedString() + "/" + id.ToString() +
495private List<PackageSource> LoadDefaultSources(PackageId packageId, PackageSourceLocation packageSourceLocation = null, PackageSourceMapping packageSourceMapping = null)
571public IEnumerable<PackageSource> LoadNuGetSources(PackageId packageId, PackageSourceLocation packageSourceLocation = null, PackageSourceMapping packageSourceMapping = null)
795public async Task<NuGetVersion> GetBestPackageVersionAsync(PackageId packageId,
809public async Task<(NuGetVersion version, PackageSource source)> GetBestPackageVersionAndSourceAsync(PackageId packageId,
948public async Task<NuGetVersion> GetLatestPackageVersion(PackageId packageId,
955public async Task<IEnumerable<NuGetVersion>> GetLatestPackageVersions(PackageId packageId, int numberOfResults, PackageSourceLocation packageSourceLocation = null, bool includePreview = false)
968PackageId packageId = new(idStem);
980public async Task<IEnumerable<NuGetVersion>> GetPackageVersionsAsync(PackageId packageId, string versionPrefix = null, bool allowPrerelease = false, PackageSourceLocation packageSourceLocation = null, CancellationToken cancellationToken = default)
1007private async Task<IEnumerable<NuGetVersion>> GetPackageVersionsForSource(AutoCompleteResource autocomplete, PackageId packageId, string versionPrefix, bool allowPrerelease, CancellationToken cancellationToken)
1026private 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,