共用方式為


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

以非同步方式執行檢視。

適用於