18 references to CreatePropertyInfo
Microsoft.AspNetCore.Http.Microbenchmarks (18)
ValidatableTypesBenchmark.cs (18)
284CreatePropertyInfo(typeof(SimpleModel), "Id", typeof(int)),
285CreatePropertyInfo(typeof(SimpleModel), "Name", typeof(string)),
286CreatePropertyInfo(typeof(SimpleModel), "Email", typeof(string), new EmailAddressAttribute())
295CreatePropertyInfo(typeof(ComplexModel), "Id", typeof(int)),
296CreatePropertyInfo(typeof(ComplexModel), "Name", typeof(string)),
297CreatePropertyInfo(typeof(ComplexModel), "Properties", typeof(Dictionary<string, string>)),
298CreatePropertyInfo(typeof(ComplexModel), "Items", typeof(List<string>)),
299CreatePropertyInfo(typeof(ComplexModel), "CreatedOn", typeof(DateTime))
308CreatePropertyInfo(typeof(ChildModel), "Id", typeof(int)),
309CreatePropertyInfo(typeof(ChildModel), "Name", typeof(string)),
310CreatePropertyInfo(typeof(ChildModel), "ParentId", typeof(int))
319CreatePropertyInfo(typeof(HierarchicalModel), "Id", typeof(int)),
320CreatePropertyInfo(typeof(HierarchicalModel), "Name", typeof(string)),
321CreatePropertyInfo(typeof(HierarchicalModel), "Child", typeof(ChildModel)),
322CreatePropertyInfo(typeof(HierarchicalModel), "Siblings", typeof(List<SimpleModel>))
331CreatePropertyInfo(typeof(ValidatableObjectModel), "Id", typeof(int)),
332CreatePropertyInfo(typeof(ValidatableObjectModel), "Name", typeof(string)),
333CreatePropertyInfo(typeof(ValidatableObjectModel), "CustomField", typeof(string))