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