8 references to _policies
Microsoft.AspNetCore.OutputCaching (8)
OutputCachePolicyBuilder.cs (8)
31
_policies
.Add(DefaultPolicy.Instance);
38
_policies
.Add(policy);
285
_policies
.Clear();
295
if (
_policies
.Count != 1 ||
_policies
[0] != DefaultPolicy.Instance)
322
var policies =
_policies
.Count switch
325
1 =>
_policies
[0],
326
_ => new CompositePolicy(
_policies
.ToArray()),