28 references to CreatePropertyInfo
Microsoft.AspNetCore.Http.Abstractions.Tests (28)
Validation\ValidatableTypeInfoTests.cs (28)
21CreatePropertyInfo(typeof(Person), typeof(string), "Name", "Name",
23CreatePropertyInfo(typeof(Person), typeof(int), "Age", "Age",
25CreatePropertyInfo(typeof(Person), typeof(Address), "Address", "Address",
32CreatePropertyInfo(typeof(Address), typeof(string), "Street", "Street",
34CreatePropertyInfo(typeof(Address), typeof(string), "City", "City",
90CreatePropertyInfo(typeof(Employee), typeof(string), "Name", "Name",
92CreatePropertyInfo(typeof(Employee), typeof(string), "Department", "Department",
94CreatePropertyInfo(typeof(Employee), typeof(decimal), "Salary", "Salary",
130CreatePropertyInfo(typeof(Vehicle), typeof(string), "Make", "Make",
132CreatePropertyInfo(typeof(Vehicle), typeof(string), "Model", "Model",
139CreatePropertyInfo(typeof(Car), typeof(int), "Doors", "Doors",
188CreatePropertyInfo(typeof(OrderItem), typeof(string), "ProductName", "ProductName",
190CreatePropertyInfo(typeof(OrderItem), typeof(int), "Quantity", "Quantity",
197CreatePropertyInfo(typeof(Order), typeof(string), "OrderNumber", "OrderNumber",
199CreatePropertyInfo(typeof(Order), typeof(List<OrderItem>), "Items", "Items",
253CreatePropertyInfo(typeof(Person), typeof(string), "Name", "Name",
255CreatePropertyInfo(typeof(Person), typeof(Address), "Address", "Address",
288CreatePropertyInfo(typeof(TreeNode), typeof(string), "Name", "Name",
290CreatePropertyInfo(typeof(TreeNode), typeof(TreeNode), "Parent", "Parent",
292CreatePropertyInfo(typeof(TreeNode), typeof(List<TreeNode>), "Children", "Children",
343CreatePropertyInfo(typeof(Product), typeof(string), "SKU", "SKU", [new RequiredAttribute(), new CustomSkuValidationAttribute()]),
373CreatePropertyInfo(typeof(User), typeof(string), "Password", "Password",
409CreatePropertyInfo(typeof(BaseEntity), typeof(Guid), "Id", "Id", [])
415CreatePropertyInfo(typeof(IntermediateEntity), typeof(DateTime), "CreatedAt", "CreatedAt", [new PastDateAttribute()])
421CreatePropertyInfo(typeof(DerivedEntity), typeof(string), "Name", "Name", [new RequiredAttribute()])
465CreatePropertyInfo(typeof(User), typeof(string), "Password", "Password",
517CreatePropertyInfo(typeof(MultiMemberErrorObject), typeof(string), "FirstName", "FirstName", []),
518CreatePropertyInfo(typeof(MultiMemberErrorObject), typeof(string), "LastName", "LastName", [])