8 instantiations of Person
Microsoft.AspNetCore.Mvc.IntegrationTests (8)
DictionaryModelBinderIntegrationTest.cs (8)
527Assert.Equal(new Dictionary<string, Person> { { "key0", new Person { Id = 10 } }, }, model); 544var expectedDictionary = new Dictionary<string, Person> { { "key0", new Person { Id = 10 } } }; 582var expectedDictionary = new Dictionary<string, Person> { { "key0", new Person { Id = 10 } } }; 617var expectedDictionary = new Dictionary<string, Person> { { "42", new Person { Id = 10 } } }; 652var expectedDictionary = new Dictionary<string, Person> { { "42", new Person { Id = 10 } } }; 725Assert.Equal(new Dictionary<string, Person> { { "key0", new Person { Id = 10 } }, }, model); 764Assert.Equal(new Dictionary<string, Person> { { "key0", new Person { Id = 10 } }, }, model); 804Assert.Equal(new Dictionary<string, Person> { { "key0", new Person { Id = 100 } }, }, model);
29 references to Person
Microsoft.AspNetCore.Mvc.IntegrationTests (29)
DictionaryModelBinderIntegrationTest.cs (29)
470return obj is Person other && Id == other.Id; 510ParameterType = typeof(Dictionary<string, Person>) 526var model = Assert.IsType<Dictionary<string, Person>>(modelBindingResult.Model); 527Assert.Equal(new Dictionary<string, Person> { { "key0", new Person { Id = 10 } }, }, model); 544var expectedDictionary = new Dictionary<string, Person> { { "key0", new Person { Id = 10 } } }; 555ParameterType = typeof(Dictionary<string, Person>) 564var model = Assert.IsType<Dictionary<string, Person>>(modelBindingResult.Model); 582var expectedDictionary = new Dictionary<string, Person> { { "key0", new Person { Id = 10 } } }; 593ParameterType = typeof(Dictionary<string, Person>) 602var model = Assert.IsType<Dictionary<string, Person>>(modelBindingResult.Model); 617var expectedDictionary = new Dictionary<string, Person> { { "42", new Person { Id = 10 } } }; 628ParameterType = typeof(Dictionary<string, Person>) 637var model = Assert.IsType<Dictionary<string, Person>>(modelBindingResult.Model); 652var expectedDictionary = new Dictionary<string, Person> { { "42", new Person { Id = 10 } } }; 663ParameterType = typeof(Dictionary<string, Person>) 672var model = Assert.IsType<Dictionary<string, Person>>(modelBindingResult.Model); 708ParameterType = typeof(Dictionary<string, Person>) 724var model = Assert.IsType<Dictionary<string, Person>>(modelBindingResult.Model); 725Assert.Equal(new Dictionary<string, Person> { { "key0", new Person { Id = 10 } }, }, model); 752ParameterType = typeof(Dictionary<string, Person>) 763var model = Assert.IsType<Dictionary<string, Person>>(modelBindingResult.Model); 764Assert.Equal(new Dictionary<string, Person> { { "key0", new Person { Id = 10 } }, }, model); 787ParameterType = typeof(Dictionary<string, Person>) 803var model = Assert.IsType<Dictionary<string, Person>>(modelBindingResult.Model); 804Assert.Equal(new Dictionary<string, Person> { { "key0", new Person { Id = 100 } }, }, model); 827ParameterType = typeof(Dictionary<string, Person>) 843var model = Assert.IsType<Dictionary<string, Person>>(modelBindingResult.Model); 862ParameterType = typeof(Dictionary<string, Person>), 1726private void SampleMethod_ComplexType(Dictionary<string, Person> parameter = null) { }