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)
1184Assert.Single(actionModel.Attributes.OfType<ConstraintAttribute>()); 1192Assert.Single(selectorModel.ActionConstraints.OfType<ConstraintAttribute>()); 1199Assert.Single(selectorModel.ActionConstraints.OfType<ConstraintAttribute>());