PageApplicationModelProviderContext(PageActionDescriptor, TypeInfo) 构造函数

定义

实例化 PageApplicationModelProviderContext 的新实例。

public:
 PageApplicationModelProviderContext(Microsoft::AspNetCore::Mvc::RazorPages::PageActionDescriptor ^ descriptor, System::Reflection::TypeInfo ^ pageTypeInfo);
public PageApplicationModelProviderContext (Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor descriptor, System.Reflection.TypeInfo pageTypeInfo);
new Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext : Microsoft.AspNetCore.Mvc.RazorPages.PageActionDescriptor * System.Reflection.TypeInfo -> Microsoft.AspNetCore.Mvc.ApplicationModels.PageApplicationModelProviderContext
Public Sub New (descriptor As PageActionDescriptor, pageTypeInfo As TypeInfo)

参数

pageTypeInfo
TypeInfo

页面的类型。

适用于