1 instantiation of ConstraintAttribute
Microsoft.AspNetCore.Mvc.Core.Test (1)
ApplicationModels\DefaultApplicationModelProviderTest.cs (1)
1851
[
Constraint
]
3 references to ConstraintAttribute
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\DefaultApplicationModelProviderTest.cs (3)
1184
Assert.Single(actionModel.Attributes.OfType<
ConstraintAttribute
>());
1192
Assert.Single(selectorModel.ActionConstraints.OfType<
ConstraintAttribute
>());
1199
Assert.Single(selectorModel.ActionConstraints.OfType<
ConstraintAttribute
>());