1 write to SourceCacheContext
NuGet.PackageManagement (1)
Context\ResolutionContext.cs (1)
68SourceCacheContext = sourceCacheContext;
12 references to SourceCacheContext
NuGet.PackageManagement (12)
NuGetPackageManager.cs (9)
231var downloadContext = new PackageDownloadContext(resolutionContext.SourceCacheContext) 290var downloadContext = new PackageDownloadContext(resolutionContext.SourceCacheContext) 418var downloadContext = new PackageDownloadContext(resolutionContext.SourceCacheContext) 695resolutionContext.SourceCacheContext.MaxAge = DateTimeOffset.UtcNow; 717sourceCacheContext: resolutionContext.SourceCacheContext); 768sourceCacheContext: resolutionContext.SourceCacheContext); 1191var packageInfo = await packagesFolderResource.ResolvePackage(installedPackage.PackageIdentity, targetFramework, resolutionContext.SourceCacheContext, log, token); 2023var sourceRepository = await GetSourceRepository(packageIdentity, effectiveSources, resolutionContext.SourceCacheContext, logger, token); 3886var packages = (await dependencyInfoResource.ResolvePackages(packageId, framework, resolutionContext.SourceCacheContext, log, token)).ToList();
Resolution\ResolverGather.cs (3)
290var packageInfo = await _packagesFolderResource.ResolvePackage(installedPackage, _context.TargetFramework, _context.ResolutionContext.SourceCacheContext, _context.Log, token); 504var packages = await resource.ResolvePackages(packageId, targetFramework, _context.ResolutionContext.SourceCacheContext, _context.Log, token); 512var package = await resource.ResolvePackage(identity, targetFramework, _context.ResolutionContext.SourceCacheContext, _context.Log, token);