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)

适用于