1 write to PageTypeInfo
Microsoft.AspNetCore.Mvc.RazorPages (1)
ApplicationModels\CompiledPageActionDescriptorBuilder.cs (1)
57PageTypeInfo = applicationModel.PageType,
16 references to PageTypeInfo
Microsoft.AspNetCore.Mvc.RazorPages (16)
CompiledPageActionDescriptor.cs (1)
39/// the same as <see cref="PageTypeInfo"/> and <see cref="ModelTypeInfo"/> if the page does not have an
Infrastructure\DefaultPageActivatorProvider.cs (5)
24var pageTypeInfo = actionDescriptor.PageTypeInfo?.AsType(); 28nameof(actionDescriptor.PageTypeInfo), 40if (typeof(IDisposable).GetTypeInfo().IsAssignableFrom(actionDescriptor.PageTypeInfo)) 52if (typeof(IAsyncDisposable).GetTypeInfo().IsAssignableFrom(actionDescriptor.PageTypeInfo)) 57if (typeof(IDisposable).GetTypeInfo().IsAssignableFrom(actionDescriptor.PageTypeInfo))
Infrastructure\DefaultPageFactoryProvider.cs (3)
44if (!typeof(PageBase).GetTypeInfo().IsAssignableFrom(actionDescriptor.PageTypeInfo)) 52var declaredModelType = actionDescriptor.DeclaredModelTypeInfo?.AsType() ?? actionDescriptor.PageTypeInfo.AsType(); 54actionDescriptor.PageTypeInfo.AsType(),
Infrastructure\PageActionInvoker.cs (2)
68private bool HasPageModel => _actionDescriptor.HandlerTypeInfo != _actionDescriptor.PageTypeInfo; 166if (_actionDescriptor.ModelTypeInfo == _actionDescriptor.PageTypeInfo)
Infrastructure\PageActionInvokerCache.cs (1)
87if (compiledActionDescriptor.ModelTypeInfo != compiledActionDescriptor.PageTypeInfo)
PageLoggerExtensions.cs (4)
29var pageType = context.ActionDescriptor.PageTypeInfo.AsType(); 44var pageType = context.ActionDescriptor.PageTypeInfo.AsType(); 59var pageType = context.ActionDescriptor.PageTypeInfo.AsType(); 74var pageType = context.ActionDescriptor.PageTypeInfo.AsType();