2 instantiations of HttpSourceCacheContext
NuGet.Protocol (2)
HttpSourceCacheContext.cs (2)
62return new HttpSourceCacheContext( 70return new HttpSourceCacheContext(
30 references to HttpSourceCacheContext
NuGet.Protocol (30)
DependencyInfo\RegistrationUtility.cs (4)
46var httpSourceCacheContext = HttpSourceCacheContext.Create(cacheContext, 0); 127HttpSourceCacheContext httpSourceCacheContext = HttpSourceCacheContext.Create(cacheContext, 0);
HttpSource\HttpCacheUtility.cs (1)
21HttpSourceCacheContext context)
HttpSource\HttpSourceCachedRequest.cs (2)
18public HttpSourceCachedRequest(string uri, string cacheKey, HttpSourceCacheContext cacheContext) 55public HttpSourceCacheContext CacheContext { get; }
HttpSourceCacheContext.cs (2)
48public static HttpSourceCacheContext Create(SourceCacheContext cacheContext, int retryCount) 53public static HttpSourceCacheContext Create(SourceCacheContext cacheContext, bool isFirstAttempt)
LegacyFeed\V2FeedParser.cs (2)
528var httpSourceCacheContext = HttpSourceCacheContext.Create(sourceCacheContext, 0);
Providers\RepositorySignatureResourceProvider.cs (2)
73var cacheContext = HttpSourceCacheContext.Create(sourceCacheContext, isFirstAttempt: retry == 1);
Providers\ServiceIndexResourceV3Provider.cs (2)
134var cacheContext = HttpSourceCacheContext.Create(sourceCacheContext, isFirstAttempt: retry == 1);
RemoteRepositories\HttpFileSystemBasedFindPackageByIdResource.cs (2)
502var httpSourceCacheContext = HttpSourceCacheContext.Create(cacheContext, isFirstAttempt: retry == 1);
RemoteRepositories\RemoteV2FindPackageByIdResource.cs (2)
465var httpSourceCacheContext = HttpSourceCacheContext.Create(cacheContext, isFirstAttempt: retry == 1);
Resources\PackageMetadataResourceV3.cs (5)
224private async Task<ValueTuple<RegistrationIndex, HttpSourceCacheContext>> LoadRegistrationIndexAsync( 236var httpSourceCacheContext = HttpSourceCacheContext.Create(cacheContext, retryCount); 250return new ValueTuple<RegistrationIndex, HttpSourceCacheContext>(index, httpSourceCacheContext); 271HttpSourceCacheContext httpSourceCacheContext,
Resources\VulnerabilityInfoResourceV3.cs (4)
42HttpSourceCacheContext httpSourceCacheContext = HttpSourceCacheContext.Create(cacheContext, isFirstAttempt: true); 97HttpSourceCacheContext httpSourceCacheContext = HttpSourceCacheContext.Create(cacheContext, isFirstAttempt: true);
Utility\FindPackagesByIdNupkgDownloader.cs (2)
265var httpSourceCacheContext = HttpSourceCacheContext.Create(cacheContext, isFirstAttempt: retry == 1);