5 writes to DeclaredModelTypeInfo
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
54
DeclaredModelTypeInfo
= applicationModel.DeclaredModelType,
Microsoft.AspNetCore.Mvc.RazorPages.Test (4)
Infrastructure\DefaultPageFactoryProviderTest.cs (3)
110
DeclaredModelTypeInfo
= typeof(ViewDataTestPageModel).GetTypeInfo(),
140
DeclaredModelTypeInfo
= typeof(ViewDataTestPageModel).GetTypeInfo(),
167
DeclaredModelTypeInfo
= typeof(ViewDataTestPageModel).GetTypeInfo(),
Infrastructure\PageActionInvokerProviderTest.cs (1)
485
DeclaredModelTypeInfo
= declaredModelTypeInfo ?? pageTypeInfo,
4 references to DeclaredModelTypeInfo
Microsoft.AspNetCore.Mvc.RazorPages (3)
Infrastructure\DefaultPageFactoryProvider.cs (1)
52
var declaredModelType = actionDescriptor.
DeclaredModelTypeInfo
?.AsType() ?? actionDescriptor.PageTypeInfo.AsType();
Infrastructure\PageActionInvokerCache.cs (1)
75
var viewDataFactory = ViewDataDictionaryFactory.CreateFactory(compiledActionDescriptor.
DeclaredModelTypeInfo
);
Infrastructure\PageResultExecutor.cs (1)
70
var pageAdapter = new RazorPageAdapter(result.Page, pageContext.ActionDescriptor.
DeclaredModelTypeInfo
!);
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
ApplicationModels\CompiledPageActionDescriptorBuilderTest.cs (1)
87
Assert.Same(pageApplicationModel.DeclaredModelType, actual.
DeclaredModelTypeInfo
);