1 write to MaxLength
Microsoft.AspNetCore.Routing (1)
Constraints\MaxLengthRouteConstraint.cs (1)
35
MaxLength
= maxLength;
3 references to MaxLength
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
215
schema[OpenApiSchemaKeywords.MaxLengthKeyword] = maxLengthRouteConstraint.
MaxLength
;
Microsoft.AspNetCore.Routing (1)
Constraints\MaxLengthRouteConstraint.cs (1)
70
return valueString.Length <=
MaxLength
;
Microsoft.AspNetCore.Routing.Tests (1)
DefaultInlineConstraintResolverTest.cs (1)
217
Assert.Equal(10, ((MaxLengthRouteConstraint)constraint).
MaxLength
);