14 instantiations of CachedVaryByRules
Microsoft.AspNetCore.ResponseCaching (1)
ResponseCachingMiddleware.cs (1)
281context.CachedVaryByRules = new CachedVaryByRules
Microsoft.AspNetCore.ResponseCaching.Tests (13)
ResponseCachingKeyProviderTests.cs (9)
70context.CachedVaryByRules = new CachedVaryByRules() 85context.CachedVaryByRules = new CachedVaryByRules() 101context.CachedVaryByRules = new CachedVaryByRules() 116context.CachedVaryByRules = new CachedVaryByRules() 132context.CachedVaryByRules = new CachedVaryByRules() 148context.CachedVaryByRules = new CachedVaryByRules() 166context.CachedVaryByRules = new CachedVaryByRules() 184context.CachedVaryByRules = new CachedVaryByRules() 204context.CachedVaryByRules = new CachedVaryByRules()
ResponseCachingMiddlewareTests.cs (4)
114new CachedVaryByRules(), 134new CachedVaryByRules(), 530var cachedVaryByRules = new CachedVaryByRules() 559var cachedVaryByRules = new CachedVaryByRules()
8 references to CachedVaryByRules
Microsoft.AspNetCore.ResponseCaching (6)
CacheEntry\CacheEntryHelpers.cs (1)
41internal static long EstimateCachedVaryByRulesySize(CachedVaryByRules? cachedVaryByRules)
MemoryResponseCache.cs (1)
64Size = CacheEntryHelpers.EstimateCachedVaryByRulesySize(entry as CachedVaryByRules)
ResponseCachingContext.cs (1)
35public CachedVaryByRules CachedVaryByRules { get; set; }
ResponseCachingKeyProvider.cs (2)
79var varyByRules = context.CachedVaryByRules; 82throw new InvalidOperationException($"{nameof(CachedVaryByRules)} must not be null on the {nameof(ResponseCachingContext)}");
ResponseCachingMiddleware.cs (1)
209if (cacheEntry is CachedVaryByRules cachedVaryByRules)
Microsoft.AspNetCore.ResponseCaching.Tests (2)
ResponseCachingMiddlewareTests.cs (2)
530var cachedVaryByRules = new CachedVaryByRules() 559var cachedVaryByRules = new CachedVaryByRules()