1 write to _policy
Microsoft.AspNetCore.OutputCaching (1)
Policies\PredicatePolicy.cs (1)
24
_policy
= policy;
3 references to _policy
Microsoft.AspNetCore.OutputCaching (3)
Policies\PredicatePolicy.cs (3)
30
return ExecuteAwaited(static (policy, context, cancellationToken) => policy.CacheRequestAsync(context, cancellationToken),
_policy
, context, cancellationToken);
36
return ExecuteAwaited(static (policy, context, cancellationToken) => policy.ServeFromCacheAsync(context, cancellationToken),
_policy
, context, cancellationToken);
42
return ExecuteAwaited(static (policy, context, cancellationToken) => policy.ServeResponseAsync(context, cancellationToken),
_policy
, context, cancellationToken);