6 references to AddConstraint
Microsoft.AspNetCore.Routing (1)
RouteBase.cs (1)
215constraintBuilder.AddConstraint(kvp.Key, kvp.Value);
Microsoft.AspNetCore.Routing.Tests (5)
RouteConstraintBuilderTest.cs (5)
20builder.AddConstraint("controller", "abc"); 39builder.AddConstraint("controller", originalConstraint); 80() => builder.AddConstraint("controller", 5), 135builder.AddConstraint("name", minLenConstraint); 164builder.AddConstraint("controller", constraintValue);