2 references to PredicatePolicy
Microsoft.AspNetCore.OutputCaching (1)
OutputCachePolicyBuilder.cs (1)
332
policies = new
PredicatePolicy
(async c =>
Microsoft.AspNetCore.OutputCaching.Tests (1)
OutputCachePoliciesTests.cs (1)
140
IOutputCachePolicy predicate = new
PredicatePolicy
(c => ValueTask.FromResult(filter), enabled ? EnableCachePolicy.Enabled : EnableCachePolicy.Disabled);