2 instantiations of LockingPolicy
Microsoft.AspNetCore.OutputCaching (2)
Policies\LockingPolicy.cs (2)
21
public static readonly LockingPolicy Enabled =
new
(true);
26
public static readonly LockingPolicy Disabled =
new
(false);
4 references to LockingPolicy
Microsoft.AspNetCore.OutputCaching (4)
OutputCachePolicyBuilder.cs (2)
275
public OutputCachePolicyBuilder SetLocking(bool enabled) => AddPolicy(enabled ?
LockingPolicy
.Enabled :
LockingPolicy
.Disabled);
Policies\LockingPolicy.cs (2)
21
public static readonly
LockingPolicy
Enabled = new(true);
26
public static readonly
LockingPolicy
Disabled = new(false);