1 write to Length
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
27Length = length;
9 references to Length
Microsoft.AspNetCore.Components.Forms (1)
ClientValidation\DefaultClientValidationService.cs (1)
97htmlAttributes.TryAdd("data-val-minlength-min", minla.Length.ToString(CultureInfo.InvariantCulture));
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
MinLengthAttributeAdapter.cs (2)
18_min = Attribute.Length.ToString(CultureInfo.InvariantCulture); 38Attribute.Length);
Microsoft.Extensions.AI.Abstractions (2)
Utilities\AIJsonUtilities.Schema.Create.cs (2)
461obj[MinLengthStringPropertyName] ??= minLengthAttribute.Length; 465obj[MinLengthCollectionPropertyName] ??= minLengthAttribute.Length;
Microsoft.Extensions.Validation.Localization (1)
BuiltInFormatters.cs (1)
36=> string.Format(culture, messageTemplate, displayName, attribute.Length);
System.ComponentModel.Annotations (3)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (3)
70return length >= Length; 80string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length); 88if (Length < 0)