共用方式為


PartialViewResultExecutor 類別

定義

尋找並執行 IViewPartialViewResult

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

建構函式

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

建立新的 PartialViewResultExecutor

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

建立新的 PartialViewResultExecutor

屬性

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, PartialViewResult)

IView以非同步方式執行 。

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

以非同步方式執行檢視。

(繼承來源 ViewExecutor)
ExecuteAsync(ActionContext, PartialViewResult)

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

ExecuteAsync(ViewContext, String, Nullable<Int32>)

以非同步方式執行檢視。

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

嘗試尋找 IView 與 相關聯的 viewResult

適用於