2 interfaces inheriting from IActionConstraintMetadata
Microsoft.AspNetCore.Mvc.Abstractions (2)
ActionConstraints\IActionConstraint.cs (1)
37public interface IActionConstraint : IActionConstraintMetadata
ActionConstraints\IActionConstraintFactory.cs (1)
16public interface IActionConstraintFactory : IActionConstraintMetadata
19 references to IActionConstraintMetadata
Microsoft.AspNetCore.Mvc.Abstractions (6)
Abstractions\ActionDescriptor.cs (1)
44public IList<IActionConstraintMetadata>? ActionConstraints { get; set; }
ActionConstraints\ActionConstraintItem.cs (5)
7/// Represents an <see cref="IActionConstraintMetadata"/> with or without a corresponding 15/// <param name="metadata">The <see cref="IActionConstraintMetadata"/> instance.</param> 16public ActionConstraintItem(IActionConstraintMetadata metadata) 29/// The <see cref="IActionConstraintMetadata"/> instance. 31public IActionConstraintMetadata Metadata { get; }
Microsoft.AspNetCore.Mvc.Core (13)
ActionConstraints\DefaultActionConstraintProvider.cs (1)
11/// <see cref="IActionConstraintMetadata"/> implements <see cref="IActionConstraint"/> or
ApplicationModels\ActionAttributeRouteModel.cs (2)
54var actionConstraints = new List<IActionConstraintMetadata>(); 118private static void AddActionConstraints(SelectorModel selector, IList<IActionConstraintMetadata>? actionConstraints)
ApplicationModels\ControllerActionDescriptorBuilder.cs (1)
185actionDescriptor.ActionConstraints = new List<IActionConstraintMetadata>(selectorModel.ActionConstraints);
ApplicationModels\DefaultApplicationModelProvider.cs (1)
661AddRange(selectorModel.ActionConstraints, attributes.OfType<IActionConstraintMetadata>());
ApplicationModels\SelectorModel.cs (4)
18ActionConstraints = new List<IActionConstraintMetadata>(); 30ActionConstraints = new List<IActionConstraintMetadata>(other.ActionConstraints); 45/// The list of <see cref="IActionConstraintMetadata"/>. 47public IList<IActionConstraintMetadata> ActionConstraints { get; }
Routing\ActionConstraintMatcherPolicy.cs (3)
42if (action?.ActionConstraints is IList<IActionConstraintMetadata> { Count: > 0 } constraints && HasSignificantActionConstraint(constraints)) 53static bool HasSignificantActionConstraint(IList<IActionConstraintMetadata> constraints) 57var actionConstraint = constraints[i];
Routing\ActionEndpointFactory.cs (1)
416foreach (var actionConstraint in action.ActionConstraints)