PartialViewResultExecutor 类

定义

查找并执行的 IView PartialViewResult

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

适用于