1 instantiation of MaxRouteConstraint
Microsoft.AspNetCore.Routing.Tests (1)
Constraints\MaxRouteConstraintTests.cs (1)
17var constraint = new MaxRouteConstraint(max);
6 references to MaxRouteConstraint
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
220else 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)
123AddConstraint<MaxRouteConstraint>(defaults, "max");
Microsoft.AspNetCore.Routing.Tests (3)
Constraints\MaxRouteConstraintTests.cs (1)
17var constraint = new MaxRouteConstraint(max);
DefaultInlineConstraintResolverTest.cs (2)
205Assert.IsType<MaxRouteConstraint>(constraint); 206Assert.Equal(10, ((MaxRouteConstraint)constraint).Max);