ViewResultExecutor 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
尋找並執行 IView 的 ViewResult 。
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)
- 繼承
- 實作
建構函式
屬性
DiagnosticListener | (繼承來源 ViewExecutor) |
DiagnosticSource |
取得 DiagnosticSource。 (繼承來源 ViewExecutor) |
Logger |
取得 ILogger。 |
ModelMetadataProvider | (繼承來源 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 與 相關聯的 |