1 write to MinimumLength
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\LengthAttribute.cs (1)
19
MinimumLength
= minimumLength;
9 references to MinimumLength
Microsoft.AspNetCore.Components.Endpoints (1)
Forms\DataAnnotationsLocalizer.cs (1)
144
LengthAttribute a => string.Format(culture, messageTemplate, displayName, a.
MinimumLength
, a.MaximumLength),
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
152
schema[$"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
"/>.
70
return (uint)(length -
MinimumLength
) <= (uint)(MaximumLength -
MinimumLength
);
80
string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name,
MinimumLength
, MaximumLength);
88
if (
MinimumLength
< 0)
93
if (MaximumLength <
MinimumLength
)