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