3 instantiations of TaskResultCache
NuGet.Protocol (3)
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (1)
40
private readonly TaskResultCache<string, List<PackageInfo>> _packageVersionsCache =
new
(StringComparer.OrdinalIgnoreCase);
RemoteRepositories\RemoteV3FindPackageByIdResource.cs (1)
31
private readonly TaskResultCache<string, IEnumerable<RemoteSourceDependencyInfo>> _packageVersionsCache =
new
(StringComparer.OrdinalIgnoreCase);
Utility\FindPackagesByIdNupkgDownloader.cs (1)
21
private readonly TaskResultCache<string, CacheEntry> _cacheEntries =
new
();
6 references to TaskResultCache
NuGet.Protocol (6)
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (1)
40
private readonly
TaskResultCache
<string, List<PackageInfo>> _packageVersionsCache = new(StringComparer.OrdinalIgnoreCase);
RemoteRepositories\RemoteV3FindPackageByIdResource.cs (1)
31
private readonly
TaskResultCache
<string, IEnumerable<RemoteSourceDependencyInfo>> _packageVersionsCache = new(StringComparer.OrdinalIgnoreCase);
src\nuget-client\build\Shared\TaskResultCache.cs (3)
31
/// Initializes a new instance of the <see cref="
TaskResultCache
{TKey, TValue}" /> class with the specified key comparer.
41
/// Initializes a new instance of the <see cref="
TaskResultCache
{TKey, TValue}" /> class with the specified initial capacity.
51
/// Initializes a new instance of the <see cref="
TaskResultCache
{TKey, TValue}" /> class.
Utility\FindPackagesByIdNupkgDownloader.cs (1)
21
private readonly
TaskResultCache
<string, CacheEntry> _cacheEntries = new();