1 type derived from TestModel
Microsoft.AspNetCore.Mvc.Razor.Test (1)
Compilation\RazorPagePropertyActivatorTest.cs (1)
225private class DerivedTestModel : TestModel
11 references to TestModel
Microsoft.AspNetCore.Mvc.Razor.Test (11)
Compilation\RazorPagePropertyActivatorTest.cs (11)
18typeof(TestModel), 28Assert.IsType<ViewDataDictionary<TestModel>>(viewDataDictionary); 57declaredModelType: typeof(TestModel), 75Assert.IsType<ViewDataDictionary<TestModel>>(viewDataDictionary); 86declaredModelType: typeof(TestModel), 104Assert.IsType<ViewDataDictionary<TestModel>>(viewDataDictionary); 115declaredModelType: typeof(TestModel), 133Assert.IsType<ViewDataDictionary<TestModel>>(viewDataDictionary); 147var original = new ViewDataDictionary<TestModel>(modelMetadataProvider, new ModelStateDictionary()) 173declaredModelType: typeof(TestModel), 176var original = new ViewDataDictionary<TestModel>(modelMetadataProvider, new ModelStateDictionary())