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