1 instantiation of MaxRouteConstraint
Microsoft.AspNetCore.Routing.Tests (1)
Constraints\MaxRouteConstraintTests.cs (1)
17
var constraint = new
MaxRouteConstraint
(max);
6 references to MaxRouteConstraint
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
220
else if (constraint is
MaxRouteConstraint
maxRouteConstraint)
Microsoft.AspNetCore.Routing (2)
Constraints\MaxRouteConstraint.cs (1)
24
/// Initializes a new instance of the <see cref="
MaxRouteConstraint
" /> class.
RouteOptions.cs (1)
123
AddConstraint<
MaxRouteConstraint
>(defaults, "max");
Microsoft.AspNetCore.Routing.Tests (3)
Constraints\MaxRouteConstraintTests.cs (1)
17
var
constraint = new MaxRouteConstraint(max);
DefaultInlineConstraintResolverTest.cs (2)
205
Assert.IsType<
MaxRouteConstraint
>(constraint);
206
Assert.Equal(10, ((
MaxRouteConstraint
)constraint).Max);