NugetPackageDownloader\NuGetPackageDownloader.cs (14)
94public async Task<string> DownloadPackageAsync(PackageId packageId,
207public async Task<string> GetPackageUrl(PackageId packageId,
277private async Task<(PackageSource, NuGetVersion)> GetPackageSourceAndVersion(PackageId packageId,
309private static string GetNupkgUrl(string baseUri, PackageId id, NuGetVersion version) => baseUri + id.ToString() + "/" + version.ToNormalizedString() + "/" + id.ToString() +
374private List<PackageSource> LoadDefaultSources(PackageId packageId, PackageSourceLocation packageSourceLocation = null, PackageSourceMapping packageSourceMapping = null)
444public IEnumerable<PackageSource> LoadNuGetSources(PackageId packageId, PackageSourceLocation packageSourceLocation = null, PackageSourceMapping packageSourceMapping = null)
622public async Task<NuGetVersion> GetBestPackageVersionAsync(PackageId packageId,
636public async Task<(NuGetVersion version, PackageSource source)> GetBestPackageVersionAndSourceAsync(PackageId packageId,
771public async Task<NuGetVersion> GetLatestPackageVersion(PackageId packageId,
778public async Task<IEnumerable<NuGetVersion>> GetLatestPackageVersions(PackageId packageId, int numberOfResults, PackageSourceLocation packageSourceLocation = null, bool includePreview = false)
791PackageId packageId = new(idStem);
803public async Task<IEnumerable<NuGetVersion>> GetPackageVersionsAsync(PackageId packageId, string versionPrefix = null, bool allowPrerelease = false, PackageSourceLocation packageSourceLocation = null, CancellationToken cancellationToken = default)
830private async Task<IEnumerable<NuGetVersion>> GetPackageVersionsForSource(AutoCompleteResource autocomplete, PackageId packageId, string versionPrefix, bool allowPrerelease, CancellationToken cancellationToken)
849private 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,