ViewExecutor 类

定义

执行 IView

public ref class ViewExecutor
public class ViewExecutor
type ViewExecutor = class
Public Class ViewExecutor
继承
ViewExecutor
派生

构造函数

ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticListener)

创建一个新的 ViewExecutor

ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticSource)

创建一个新的 ViewExecutor

ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticSource)

创建一个新的 ViewExecutor

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

创建一个新的 ViewExecutor

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

创建一个新的 ViewExecutor

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

创建一个新的 ViewExecutor

字段

DefaultContentType

视图的默认内容类型标头值 。 text/html; charset=utf-8

属性

DiagnosticListener

获取 DiagnosticListener

DiagnosticSource

获取 DiagnosticSource

ModelMetadataProvider

获取 IModelMetadataProvider

TempDataFactory

获取 ITempDataDictionaryFactory

ViewEngine

获取默认的 IViewEngine

ViewOptions

获取 MvcViewOptions

WriterFactory

获取 IHttpResponseStreamWriterFactory

方法

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

异步执行视图。

ExecuteAsync(ViewContext, String, Nullable<Int32>)

异步执行视图。

适用于