Compartilhar via


ViewExecutor Classe

Definição

Executa um IView.

public ref class ViewExecutor
public class ViewExecutor
type ViewExecutor = class
Public Class ViewExecutor
Herança
ViewExecutor
Derivado

Construtores

ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticListener)

Cria um novo ViewExecutor.

ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticSource)

Cria um novo ViewExecutor.

ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticSource)

Cria um novo ViewExecutor.

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

Cria um novo ViewExecutor.

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

Cria um novo ViewExecutor.

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

Cria um novo ViewExecutor.

Campos

DefaultContentType

O valor de cabeçalho de tipo de conteúdo padrão para exibições, text/html; charset=utf-8.

Propriedades

DiagnosticListener

Obtém o DiagnosticListener.

DiagnosticSource

Obtém o DiagnosticSource.

ModelMetadataProvider

Obtém o IModelMetadataProvider.

TempDataFactory

Obtém o ITempDataDictionaryFactory.

ViewEngine

Obtém o IViewEngine padrão.

ViewOptions

Obtém o MvcViewOptions.

WriterFactory

Obtém o IHttpResponseStreamWriterFactory.

Métodos

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

Executa uma exibição de forma assíncrona.

ExecuteAsync(ViewContext, String, Nullable<Int32>)

Executa uma exibição de forma assíncrona.

Aplica-se a