1 write to Length
System.ComponentModel.Annotations (1)
System\ComponentModel\DataAnnotations\MinLengthAttribute.cs (1)
27Length = length;
8 references to 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)
125schema[key] = minLengthAttribute.Length;
Microsoft.Extensions.AI.Abstractions (2)
Utilities\AIJsonUtilities.Schema.Create.cs (2)
400obj[MinLengthStringPropertyName] ??= minLengthAttribute.Length; 404obj[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)