1 instantiation of PackageInfo
NuGet.Protocol (1)
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (1)
571return new PackageInfo
11 references to PackageInfo
NuGet.Protocol (11)
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (11)
38private readonly TaskResultCache<string, List<PackageInfo>> _packageVersionsCache = new(StringComparer.OrdinalIgnoreCase); 186var packageInfo = await GetPackageInfoAsync(id, version, cacheContext, logger, cancellationToken); 271var packageInfo = await GetPackageInfoAsync(id, version, cacheContext, logger, cancellationToken); 336var packageInfo = await GetPackageInfoAsync( 411var packageInfo = await GetPackageInfoAsync(id, version, cacheContext, logger, cancellationToken); 426private async Task<PackageInfo?> GetPackageInfoAsync( 437private async Task<IEnumerable<PackageInfo>> EnsurePackagesAsync( 443List<PackageInfo> result = await _packageVersionsCache.GetOrAddAsync( 452private async Task<List<PackageInfo>> FindPackagesByIdAsyncCore( 467var results = new List<PackageInfo>(); 566private static PackageInfo BuildModel(string id, XElement element)