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