5 writes to AllowCacheLookup
Microsoft.AspNetCore.OutputCaching (2)
Policies\DefaultPolicy.cs (1)
25context.AllowCacheLookup = attemptOutputCaching;
Policies\NoLookupPolicy.cs (1)
20context.AllowCacheLookup = false;
Microsoft.AspNetCore.OutputCaching.Tests (3)
OutputCacheMiddlewareTests.cs (1)
994context.AllowCacheLookup = !context.HttpContext.Request.Headers.ContainsKey("X-Refresh");
TestUtils.cs (2)
236AllowCacheLookup = true, 388context.AllowCacheLookup = true;
19 references to AllowCacheLookup
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheMiddleware.cs (1)
110if (context.AllowCacheLookup)
Microsoft.AspNetCore.OutputCaching.Tests (18)
OutputCachePoliciesTests.cs (1)
119Assert.False(context.AllowCacheLookup);
OutputCachePolicyBuilderTests.cs (1)
296Assert.False(context.AllowCacheLookup);
OutputCachePolicyProviderTests.cs (16)
57Assert.True(context.AllowCacheLookup); 72Assert.False(context.AllowCacheLookup); 89Assert.False(context.AllowCacheLookup); 122Assert.True(context.AllowCacheLookup); 136Assert.True(context.AllowCacheLookup); 154Assert.True(context.AllowCacheLookup); 172Assert.True(context.AllowCacheLookup); 190Assert.True(context.AllowCacheLookup); 205Assert.True(context.AllowCacheLookup); 218Assert.True(context.AllowCacheLookup); 236Assert.True(context.AllowCacheLookup); 252Assert.True(context.AllowCacheLookup); 327Assert.True(context.AllowCacheLookup); 346Assert.True(context.AllowCacheLookup); 369Assert.True(context.AllowCacheLookup); 392Assert.True(context.AllowCacheLookup);