2 instantiations of RouteAndConstraintAttribute
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApplicationModels\DefaultApplicationModelProviderTest.cs (2)
1852
[
RouteAndConstraint
("R1")]
1853
[
RouteAndConstraint
("R2")]
3 references to RouteAndConstraintAttribute
Microsoft.AspNetCore.Mvc.Core.Test (3)
ApplicationModels\DefaultApplicationModelProviderTest.cs (3)
1183
Assert.Equal(2, actionModel.Attributes.OfType<
RouteAndConstraintAttribute
>().Count());
1191
Assert.Single(selectorModel.ActionConstraints.OfType<
RouteAndConstraintAttribute
>());
1198
Assert.Single(selectorModel.ActionConstraints.OfType<
RouteAndConstraintAttribute
>());