1 instantiation of PackageInfo
NuGet.Protocol (1)
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (1)
573return new PackageInfo
11 references to PackageInfo
NuGet.Protocol (11)
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (11)
40private readonly TaskResultCache<string, List<PackageInfo>> _packageVersionsCache = new(StringComparer.OrdinalIgnoreCase); 188var packageInfo = await GetPackageInfoAsync(id, version, cacheContext, logger, cancellationToken); 273var packageInfo = await GetPackageInfoAsync(id, version, cacheContext, logger, cancellationToken); 338var packageInfo = await GetPackageInfoAsync( 413var packageInfo = await GetPackageInfoAsync(id, version, cacheContext, logger, cancellationToken); 428private async Task<PackageInfo> GetPackageInfoAsync( 439private async Task<IEnumerable<PackageInfo>> EnsurePackagesAsync( 445List<PackageInfo> result = await _packageVersionsCache.GetOrAddAsync( 454private async Task<List<PackageInfo>> FindPackagesByIdAsyncCore( 469var results = new List<PackageInfo>(); 568private static PackageInfo BuildModel(string id, XElement element)