共用方式為


PageResultExecutor 類別

定義

執行 Razor 頁面。

public ref class PageResultExecutor : Microsoft::AspNetCore::Mvc::ViewFeatures::ViewExecutor
public class PageResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor
type PageResultExecutor = class
    inherit ViewExecutor
Public Class PageResultExecutor
Inherits ViewExecutor
繼承
PageResultExecutor

建構函式

PageResultExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, IRazorViewEngine, IRazorPageActivator, DiagnosticListener, HtmlEncoder)

建立新的 PageResultExecutor

PageResultExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, IRazorViewEngine, IRazorPageActivator, DiagnosticSource, HtmlEncoder)

建立新的 PageResultExecutor

PageResultExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, IRazorViewEngine, IRazorPageActivator, DiagnosticSource, HtmlEncoder)

建立新的 PageResultExecutor

屬性

DiagnosticListener

取得 DiagnosticListener

(繼承來源 ViewExecutor)
DiagnosticSource

取得 DiagnosticSource

(繼承來源 ViewExecutor)
ModelMetadataProvider

取得 IModelMetadataProvider

(繼承來源 ViewExecutor)
TempDataFactory

取得 ITempDataDictionaryFactory

(繼承來源 ViewExecutor)
ViewEngine

取得預設 IViewEngine

(繼承來源 ViewExecutor)
ViewOptions

取得 MvcViewOptions

(繼承來源 ViewExecutor)
WriterFactory

取得 IHttpResponseStreamWriterFactory

(繼承來源 ViewExecutor)

方法

ExecuteAsync(ActionContext, IView, ViewDataDictionary, ITempDataDictionary, String, Nullable<Int32>)

以非同步方式執行檢視。

(繼承來源 ViewExecutor)
ExecuteAsync(PageContext, PageResult)

以非同步方式執行 Razor 頁面。

ExecuteAsync(ViewContext, String, Nullable<Int32>)

以非同步方式執行檢視。

(繼承來源 ViewExecutor)

適用於