1 write to DeclaredModelType
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\PageApplicationModel.cs (1)
38
DeclaredModelType
= declaredModelType;
6 references to DeclaredModelType
Microsoft.AspNetCore.Mvc.RazorPages (4)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (4)
33
if (applicationModel.ModelType != null && applicationModel.
DeclaredModelType
!= null &&
34
!applicationModel.
DeclaredModelType
.IsAssignableFrom(applicationModel.ModelType))
39
applicationModel.
DeclaredModelType
.Name);
54
DeclaredModelTypeInfo = applicationModel.
DeclaredModelType
,
Microsoft.AspNetCore.Mvc.RazorPages.Test (2)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (1)
87
Assert.Same(pageApplicationModel.
DeclaredModelType
, actual.DeclaredModelTypeInfo);
ApplicationModels\DefaultPageApplicationModelProviderTest.cs (1)
478
Assert.Same(typeof(EmptyPageModel).GetTypeInfo(), pageModel.
DeclaredModelType
);