1 instantiation of DefaultPolicy
Microsoft.AspNetCore.OutputCaching (1)
Policies\DefaultPolicy.cs (1)
14
public static readonly DefaultPolicy Instance =
new
();
4 references to DefaultPolicy
Microsoft.AspNetCore.OutputCaching (4)
OutputCachePolicyBuilder.cs (2)
31
_policies.Add(
DefaultPolicy
.Instance);
295
if (_policies.Count != 1 || _policies[0] !=
DefaultPolicy
.Instance)
Policies\DefaultPolicy.cs (1)
14
public static readonly
DefaultPolicy
Instance = new();
Policies\OutputCacheConventionBuilderExtensions.cs (1)
25
endpointBuilder.Metadata.Add(
DefaultPolicy
.Instance);