共用方式為


IPageFactoryProvider.CreatePageFactory(CompiledPageActionDescriptor) 方法

定義

建立處理站,以產生指定 PageContext 之 的 Razor 頁面。

public:
 Func<Microsoft::AspNetCore::Mvc::RazorPages::PageContext ^, Microsoft::AspNetCore::Mvc::Rendering::ViewContext ^, System::Object ^> ^ CreatePageFactory(Microsoft::AspNetCore::Mvc::RazorPages::CompiledPageActionDescriptor ^ descriptor);
public Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext,Microsoft.AspNetCore.Mvc.Rendering.ViewContext,object> CreatePageFactory (Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor descriptor);
abstract member CreatePageFactory : Microsoft.AspNetCore.Mvc.RazorPages.CompiledPageActionDescriptor -> Func<Microsoft.AspNetCore.Mvc.RazorPages.PageContext, Microsoft.AspNetCore.Mvc.Rendering.ViewContext, obj>
Public Function CreatePageFactory (descriptor As CompiledPageActionDescriptor) As Func(Of PageContext, ViewContext, Object)

參數

傳回

Razor 頁面處理站。

適用於