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