18 references to CreatePropertyInfo
Microsoft.AspNetCore.Http.Microbenchmarks (18)
ValidatableTypesBenchmark.cs (18)
287CreatePropertyInfo(typeof(SimpleModel), "Id", typeof(int)),
288CreatePropertyInfo(typeof(SimpleModel), "Name", typeof(string)),
289CreatePropertyInfo(typeof(SimpleModel), "Email", typeof(string), new EmailAddressAttribute())
298CreatePropertyInfo(typeof(ComplexModel), "Id", typeof(int)),
299CreatePropertyInfo(typeof(ComplexModel), "Name", typeof(string)),
300CreatePropertyInfo(typeof(ComplexModel), "Properties", typeof(Dictionary<string, string>)),
301CreatePropertyInfo(typeof(ComplexModel), "Items", typeof(List<string>)),
302CreatePropertyInfo(typeof(ComplexModel), "CreatedOn", typeof(DateTime))
311CreatePropertyInfo(typeof(ChildModel), "Id", typeof(int)),
312CreatePropertyInfo(typeof(ChildModel), "Name", typeof(string)),
313CreatePropertyInfo(typeof(ChildModel), "ParentId", typeof(int))
322CreatePropertyInfo(typeof(HierarchicalModel), "Id", typeof(int)),
323CreatePropertyInfo(typeof(HierarchicalModel), "Name", typeof(string)),
324CreatePropertyInfo(typeof(HierarchicalModel), "Child", typeof(ChildModel)),
325CreatePropertyInfo(typeof(HierarchicalModel), "Siblings", typeof(List<SimpleModel>))
334CreatePropertyInfo(typeof(ValidatableObjectModel), "Id", typeof(int)),
335CreatePropertyInfo(typeof(ValidatableObjectModel), "Name", typeof(string)),
336CreatePropertyInfo(typeof(ValidatableObjectModel), "CustomField", typeof(string))