1 write to Length
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
27Length = length;
10 references to Length
Microsoft.AspNetCore.Components.Endpoints (1)
Forms\DataAnnotationsClientValidationProvider.cs (1)
149writer.Param("min"u8, minla.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)
470obj[MinLengthStringPropertyName] ??= minLengthAttribute.Length; 474obj[MinLengthCollectionPropertyName] ??= minLengthAttribute.Length;
System.ComponentModel.Annotations (4)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (4)
70return length >= Length; 83/// <c>{0}</c> is replaced with <paramref name="name" /> and <c>{1}</c> is replaced with <see cref="Length" />. 87return string.Format(CultureInfo.CurrentCulture, format, name, Length); 96if (Length < 0)