3 references to LengthRouteConstraint
Microsoft.AspNetCore.Routing.Tests (3)
Constraints\LengthRouteConstraintTests.cs (2)
18
var constraint = new
LengthRouteConstraint
(length);
53
() => new
LengthRouteConstraint
(-1),
Template\TemplateBinderTests.cs (1)
1305
parameterPolicies: new (string, IParameterPolicy)[] { ("param", new
LengthRouteConstraint
(500)), ("param", new SlugifyParameterTransformer()), });