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