1 write to Length
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
27Length = length;
10 references to Length
Microsoft.AspNetCore.Components.Endpoints (2)
Forms\DataAnnotationsClientValidationProvider.cs (1)
150writer.Param("min"u8, minla.Length);
Forms\DataAnnotationsLocalizer.cs (1)
106MinLengthAttribute a => string.Format(culture, messageTemplate, displayName, a.Length),
Microsoft.AspNetCore.Mvc.DataAnnotations (2)
MinLengthAttributeAdapter.cs (2)
18_min = Attribute.Length.ToString(CultureInfo.InvariantCulture); 38Attribute.Length);
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
146schema[key] = minLengthAttribute.Length;
Microsoft.Extensions.AI.Abstractions (2)
Utilities\AIJsonUtilities.Schema.Create.cs (2)
461obj[MinLengthStringPropertyName] ??= minLengthAttribute.Length; 465obj[MinLengthCollectionPropertyName] ??= minLengthAttribute.Length;
System.ComponentModel.Annotations (3)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (3)
70return length >= Length; 80string.Format(CultureInfo.CurrentCulture, ErrorMessageString, name, Length); 88if (Length < 0)