9 instantiations of LengthAttribute
Microsoft.Extensions.AI.Integration.Tests (1)
ChatClientIntegrationTests.cs (1)
547[Length(1, 2)]
Shared.Tests (8)
Data.Validation\LengthAttributeTests.cs (8)
20[Length(5, 7)] 76[Length(5, 7, Exclusive = true)] 148[Length(5, 7)] 205[Length(5, 7)] 255[Length(5, 7)] 321[Length(5, 10)] 327[Length(10, 5)] 333[Length(-5, -10)]
3 references to LengthAttribute
Microsoft.AspNetCore.Components.Endpoints (1)
Forms\DataAnnotationsLocalizer.cs (1)
144LengthAttribute a => string.Format(culture, messageTemplate, displayName, a.MinimumLength, a.MaximumLength),
Microsoft.AspNetCore.OpenApi (1)
Extensions\JsonNodeSchemaExtensions.cs (1)
148else if (attribute is LengthAttribute lengthAttribute)
Shared.Tests (1)
Data.Validation\LengthAttributeTests.cs (1)
371var attr = new LengthAttribute(5);