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