3 instantiations of OrderItem
Microsoft.AspNetCore.Http.Abstractions.Tests (3)
Validation\ValidatableTypeInfoTests.cs (3)
208new OrderItem { ProductName = "Valid Product", Quantity = 5 }, 209new OrderItem { /* Missing ProductName (required) */ Quantity = 0 /* Invalid quantity */ }, 210new OrderItem { ProductName = "Another Product", Quantity = 200 /* Invalid quantity */ }
6 references to OrderItem
Microsoft.AspNetCore.Http.Abstractions.Tests (6)
Validation\ValidatableTypeInfoTests.cs (6)
186typeof(OrderItem), 188CreatePropertyInfo(typeof(OrderItem), typeof(string), "ProductName", "ProductName", 190CreatePropertyInfo(typeof(OrderItem), typeof(int), "Quantity", "Quantity", 199CreatePropertyInfo(typeof(Order), typeof(List<OrderItem>), "Items", "Items", 217{ typeof(OrderItem), itemType }, 636public List<OrderItem> Items { get; set; } = [];