4 instantiations of DerivedClass
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (4)
ModelExplorerTest.cs (4)
15
var modelExplorer = provider.GetModelExplorerForType(typeof(BaseClass), new
DerivedClass
());
43
var modelExplorer = provider.GetModelExplorerForType(typeof(BaseClass), new
DerivedClass
());
85
var model = new
DerivedClass
()
124
var model = new
DerivedClass
()
5 references to DerivedClass
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (5)
ModelExplorerTest.cs (5)
21
Assert.Equal(typeof(
DerivedClass
), modelType);
53
Assert.Equal(typeof(
DerivedClass
), baseProperty.Metadata.ContainerType);
58
Assert.Equal(typeof(
DerivedClass
), derivedProperty.Metadata.ContainerType);
85
var
model = new DerivedClass()
124
var
model = new DerivedClass()