4 references to Enabled
Microsoft.AspNetCore.OutputCaching (2)
OutputCachePolicyBuilder.cs (1)
297AddPolicy(EnableCachePolicy.Enabled);
Policies\EnableCachePolicy.cs (1)
21context.EnableOutputCaching = this == Enabled;
Microsoft.AspNetCore.OutputCaching.Tests (2)
OutputCachePoliciesTests.cs (2)
140IOutputCachePolicy predicate = new PredicatePolicy(c => ValueTask.FromResult(filter), enabled ? EnableCachePolicy.Enabled : EnableCachePolicy.Disabled); 152options.AddPolicy("enabled", EnableCachePolicy.Enabled);