NugetPackageDownloader\NuGetPackageDownloader.cs (14)
92public async Task<string> DownloadPackageAsync(PackageId packageId,
205public async Task<string> GetPackageUrl(PackageId packageId,
275private async Task<(PackageSource, NuGetVersion)> GetPackageSourceAndVersion(PackageId packageId,
307private static string GetNupkgUrl(string baseUri, PackageId id, NuGetVersion version) => baseUri + id.ToString() + "/" + version.ToNormalizedString() + "/" + id.ToString() +
372private List<PackageSource> LoadDefaultSources(PackageId packageId, PackageSourceLocation packageSourceLocation = null, PackageSourceMapping packageSourceMapping = null)
442public IEnumerable<PackageSource> LoadNuGetSources(PackageId packageId, PackageSourceLocation packageSourceLocation = null, PackageSourceMapping packageSourceMapping = null)
608public async Task<NuGetVersion> GetBestPackageVersionAsync(PackageId packageId,
622public async Task<(NuGetVersion version, PackageSource source)> GetBestPackageVersionAndSourceAsync(PackageId packageId,
757public async Task<NuGetVersion> GetLatestPackageVersion(PackageId packageId,
764public async Task<IEnumerable<NuGetVersion>> GetLatestPackageVersions(PackageId packageId, int numberOfResults, PackageSourceLocation packageSourceLocation = null, bool includePreview = false)
777PackageId packageId = new(idStem);
789public async Task<IEnumerable<NuGetVersion>> GetPackageVersionsAsync(PackageId packageId, string versionPrefix = null, bool allowPrerelease = false, PackageSourceLocation packageSourceLocation = null, CancellationToken cancellationToken = default)
816private async Task<IEnumerable<NuGetVersion>> GetPackageVersionsForSource(AutoCompleteResource autocomplete, PackageId packageId, string versionPrefix, bool allowPrerelease, CancellationToken cancellationToken)
835private static async Task<IEnumerable<string>> GetPackageIdsForSource(AutoCompleteResource autocomplete, PackageId packageId, bool allowPrerelease, CancellationToken cancellationToken)
ToolPackage\ToolPackageDownloaderBase.cs (14)
66PackageId packageId,
76PackageId packageId,
81PackageId packageId,
89protected abstract ToolConfiguration GetToolConfiguration(PackageId id,
93public IToolPackage InstallPackage(PackageLocation packageLocation, PackageId packageId,
151PackageId packageId,
234PackageId packageId,
266PackageId packageId,
284if (ResolveRidSpecificPackage(packageId, packageVersion, packageDownloadDir, assetFileDirectory, verbosity) is PackageId ridSpecificPackage)
296PackageId packageId,
310if (ResolveRidSpecificPackage(packageId, packageVersion, _localToolDownloadDir, _localToolAssetDir, verbosity) is PackageId ridSpecificPackage)
330private PackageId? ResolveRidSpecificPackage(PackageId packageId,
399PackageId packageId,