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