2 implementations of IActionConstraintProvider
Microsoft.AspNetCore.Mvc.Core (1)
ActionConstraints\DefaultActionConstraintProvider.cs (1)
14internal sealed class DefaultActionConstraintProvider : IActionConstraintProvider
Microsoft.AspNetCore.Mvc.Core.Test (1)
Infrastructure\ActionSelectorTest.cs (1)
1172private class BooleanConstraintProvider : IActionConstraintProvider
10 references to IActionConstraintProvider
Microsoft.AspNetCore.Mvc.Core (4)
ActionConstraints\ActionConstraintCache.cs (2)
16private readonly IActionConstraintProvider[] _actionConstraintProviders; 22IEnumerable<IActionConstraintProvider> actionConstraintProviders)
ActionConstraints\DefaultActionConstraintProvider.cs (1)
7/// A default implementation of <see cref="IActionConstraintProvider"/>.
DependencyInjection\MvcCoreServiceCollectionExtensions.cs (1)
164services.TryAddEnumerable(ServiceDescriptor.Transient<IActionConstraintProvider, DefaultActionConstraintProvider>());
Microsoft.AspNetCore.Mvc.Core.Test (5)
ActionConstraints\ActionConstraintCacheTest.cs (1)
157private static ActionConstraintCache CreateCache(params IActionConstraintProvider[] providers)
DependencyInjection\MvcCoreServiceCollectionExtensionsTest.cs (1)
263typeof(IActionConstraintProvider),
Infrastructure\ActionSelectorTest.cs (3)
1073var actionConstraintProviders = new IActionConstraintProvider[] { 1134private static ActionConstraintCache GetActionConstraintCache(IActionConstraintProvider[] actionConstraintProviders = null) 1140return new ActionConstraintCache(descriptorProvider, actionConstraintProviders.AsEnumerable() ?? new List<IActionConstraintProvider>());
Microsoft.AspNetCore.Mvc.Test (1)
MvcServiceCollectionExtensionsTest.cs (1)
526typeof(IActionConstraintProvider),