2 writes to MinLength
Microsoft.AspNetCore.Routing (2)
Constraints\LengthRouteConstraint.cs (2)
35
MinLength
= MaxLength = length;
65
MinLength
= minLength;
4 references to MinLength
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
230
schema[OpenApiSchemaKeywords.MinLengthKeyword] = lengthRouteConstraint.
MinLength
;
Microsoft.AspNetCore.Routing (1)
Constraints\LengthRouteConstraint.cs (1)
107
return length >=
MinLength
&& length <= MaxLength;
Microsoft.AspNetCore.Routing.Tests (2)
DefaultInlineConstraintResolverTest.cs (2)
172
Assert.Equal(5, ((LengthRouteConstraint)constraint).
MinLength
);
184
Assert.Equal(5, lengthConstraint.
MinLength
);