2 writes to AllowLocking
Microsoft.AspNetCore.OutputCaching (2)
Policies\DefaultPolicy.cs (1)
27context.AllowLocking = true;
Policies\LockingPolicy.cs (1)
31context.AllowLocking = _lockResponse;
8 references to AllowLocking
Microsoft.AspNetCore.OutputCaching (1)
OutputCacheMiddleware.cs (1)
136if (context.AllowLocking)
Microsoft.AspNetCore.OutputCaching.Tests (7)
OutputCachePoliciesTests.cs (3)
40Assert.True(context.AllowLocking); 97Assert.True(context.AllowLocking); 108Assert.False(context.AllowLocking);
OutputCachePolicyBuilderTests.cs (4)
259Assert.True(context.AllowLocking); 271Assert.True(context.AllowLocking); 283Assert.False(context.AllowLocking); 295Assert.False(context.AllowLocking);