1 write to MaximumLength
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\LengthAttribute.cs (1)
20
MaximumLength
= maximumLength;
5 references to MaximumLength
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
130
schema[$"max{targetKeySuffix}"] = lengthAttribute.
MaximumLength
;
System.ComponentModel.Annotations (4)
System\ComponentModel\DataAnnotations\LengthAttribute.cs (4)
46
/// <see cref="MinimumLength"/> is less than zero or <see cref="
MaximumLength
"/> is less than <see cref="MinimumLength"/>.
70
return (uint)(length - MinimumLength) <= (uint)(
MaximumLength
- MinimumLength);
80
string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, MinimumLength,
MaximumLength
);
93
if (
MaximumLength
< MinimumLength)