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