3 instantiations of ActionConstraintCache
Microsoft.AspNetCore.Mvc.Core.Test (2)
ActionConstraints\ActionConstraintCacheTest.cs (1)
163return new ActionConstraintCache(descriptorProvider, providers);
Infrastructure\ActionSelectorTest.cs (1)
1140return new ActionConstraintCache(descriptorProvider, actionConstraintProviders.AsEnumerable() ?? new List<IActionConstraintProvider>());
Microsoft.AspNetCore.Mvc.Test (1)
Routing\ActionConstraintMatcherPolicyTest.cs (1)
456var cache = new ActionConstraintCache(actionDescriptorCollectionProvider, new[]
12 references to ActionConstraintCache
Microsoft.AspNetCore.Mvc.Core (6)
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
161services.TryAddSingleton<ActionConstraintCache>();
Infrastructure\ActionSelector.cs (3)
21private readonly ActionConstraintCache _actionConstraintCache; 32/// <param name="actionConstraintCache">The <see cref="ActionConstraintCache"/> that 37ActionConstraintCache actionConstraintCache,
Routing\ActionConstraintMatcherPolicy.cs (2)
21private readonly ActionConstraintCache _actionConstraintCache; 23public ActionConstraintMatcherPolicy(ActionConstraintCache actionConstraintCache)
Microsoft.AspNetCore.Mvc.Core.Test (5)
ActionConstraints\ActionConstraintCacheTest.cs (4)
20var cache = CreateCache(new DefaultActionConstraintProvider()); 57var cache = CreateCache(new DefaultActionConstraintProvider()); 94var cache = CreateCache(new DefaultActionConstraintProvider()); 157private static ActionConstraintCache CreateCache(params IActionConstraintProvider[] providers)
Infrastructure\ActionSelectorTest.cs (1)
1134private static ActionConstraintCache GetActionConstraintCache(IActionConstraintProvider[] actionConstraintProviders = null)
Microsoft.AspNetCore.Mvc.Test (1)
Routing\ActionConstraintMatcherPolicyTest.cs (1)
456var cache = new ActionConstraintCache(actionDescriptorCollectionProvider, new[]