11 instantiations of Person
Microsoft.AspNetCore.Mvc.Core.Test (11)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (11)
226
var model = (object)new
Person
();
364
var model = (object)new
Person
() { Name = "Rick", Friend = new
Person
() };
651
var person = new
Person
() { Name = "Billy" };
687
var person = new
Person
() { Name = "Billy" };
792
var model = (object)new Person[] { new
Person
(), new
Person
() };
835
var model = (object)new List<Person> { new
Person
(), new
Person
() };
1032
var model = (object)new Dictionary<string, Person> { { "Joe", new
Person
() }, { "Mark", new
Person
() } };
8 references to Person
Microsoft.AspNetCore.Mvc.Core.Test (8)
ModelBinding\Validation\DefaultObjectValidatorTests.cs (8)
651
var
person = new Person() { Name = "Billy" };
652
person.Family = new Family { Members = new List<
Person
> { person } };
687
var
person = new Person() { Name = "Billy" };
792
var model = (object)new
Person
[] { new Person(), new Person() };
835
var model = (object)new List<
Person
> { new Person(), new Person() };
1032
var model = (object)new Dictionary<string,
Person
> { { "Joe", new Person() }, { "Mark", new Person() } };
1506
public
Person
Friend { get; set; }
1513
public List<
Person
> Members { get; set; }