共用方式為


ViewResultExecutor 類別

定義

尋找並執行 IViewViewResult

public ref class ViewResultExecutor : Microsoft::AspNetCore::Mvc::ViewFeatures::ViewExecutor, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::ViewResult ^>
public class ViewResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.ViewResult>
type ViewResultExecutor = class
    inherit ViewExecutor
    interface IActionResultExecutor<ViewResult>
Public Class ViewResultExecutor
Inherits ViewExecutor
Implements IActionResultExecutor(Of ViewResult)
繼承
ViewResultExecutor
實作

建構函式

ViewResultExecutor(IOptions<MvcViewOptions>, IHttpResponseStreamWriterFactory, ICompositeViewEngine, ITempDataDictionaryFactory, DiagnosticListener, ILoggerFactory, IModelMetadataProvider)

建立新的 ViewResultExecutor

ViewResultExecutor(IOptions<MvcViewOptions>, IHttpResponseStreamWriterFactory, ICompositeViewEngine, ITempDataDictionaryFactory, DiagnosticSource, ILoggerFactory, IModelMetadataProvider)

建立新的 ViewResultExecutor

屬性

DiagnosticListener

取得 DiagnosticListener

(繼承來源 ViewExecutor)
DiagnosticSource

取得 DiagnosticSource

(繼承來源 ViewExecutor)
Logger

取得 ILogger

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(ActionContext, ViewResult)

藉由修改 HttpResponse ,以非同步方式執行動作結果。

ExecuteAsync(ViewContext, String, Nullable<Int32>)

以非同步方式執行檢視。

(繼承來源 ViewExecutor)
FindView(ActionContext, ViewResult)

嘗試尋找 IView 與 相關聯的 viewResult

適用於