8 instantiations of RouteAndConstraintAttribute
Microsoft.AspNetCore.Mvc.Core.Test (8)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (8)
1877[RouteAndConstraint("R1")] 1878[RouteAndConstraint("R2")] 1883[RouteAndConstraint("C1")] 1884[RouteAndConstraint("C2")] 1887[RouteAndConstraint("A1")] 1890[RouteAndConstraint("~/A2")] 1893[RouteAndConstraint("A3")] 1894[RouteAndConstraint("A4")]
15 references to RouteAndConstraintAttribute
Microsoft.AspNetCore.Mvc.Core.Test (15)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (15)
1193Assert.Single(action.ActionConstraints, a => a is RouteAndConstraintAttribute); 1199Assert.Single(action.ActionConstraints, a => a is RouteAndConstraintAttribute); 1218Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "C1"); 1219Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "A1"); 1224Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "C2"); 1225Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "A1"); 1245Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "C1"); 1246Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "A3"); 1251Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "C2"); 1252Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "A3"); 1257Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "C1"); 1258Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "A4"); 1263Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "C2"); 1264Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "A4"); 1284Assert.Single(action.ActionConstraints, a => (a as RouteAndConstraintAttribute)?.Template == "~/A2");