2 instantiations of DerivedPerson
Microsoft.AspNetCore.Mvc.Core.Test (2)
ModelBinding\ParameterBinderTest.cs (2)
318
var model = new
DerivedPerson
();
373
var model = new
DerivedPerson
{ DerivedProperty = "SomeValue" };
4 references to DerivedPerson
Microsoft.AspNetCore.Mvc.Core.Test (4)
ModelBinding\ParameterBinderTest.cs (4)
318
var
model = new DerivedPerson();
352
Assert.Equal($"{parameter.Name}.{nameof(
DerivedPerson
.DerivedProperty)}", kvp.Key);
373
var
model = new DerivedPerson { DerivedProperty = "SomeValue" };
462
Assert.Equal($"{property.Name}.{nameof(
DerivedPerson
.DerivedProperty)}", kvp.Key);