Partilhar via


ViewResultExecutor Classe

Definição

Localiza e executa um IView para um ViewResult.

public ref class ViewResultExecutor : Microsoft::AspNetCore::Mvc::ViewFeatures::ViewExecutor, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::ViewResult ^>
public class ViewResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.ViewResult>
type ViewResultExecutor = class
    inherit ViewExecutor
    interface IActionResultExecutor<ViewResult>
Public Class ViewResultExecutor
Inherits ViewExecutor
Implements IActionResultExecutor(Of ViewResult)
Herança
ViewResultExecutor
Implementações

Construtores

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

Cria um novo ViewResultExecutor.

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

Cria um novo ViewResultExecutor.

Propriedades

DiagnosticListener

Obtém o DiagnosticListener.

(Herdado de ViewExecutor)
DiagnosticSource

Obtém o DiagnosticSource.

(Herdado de ViewExecutor)
Logger

Obtém o ILogger.

ModelMetadataProvider

Obtém o IModelMetadataProvider.

(Herdado de ViewExecutor)
TempDataFactory

Obtém o ITempDataDictionaryFactory.

(Herdado de ViewExecutor)
ViewEngine

Obtém o IViewEngine padrão.

(Herdado de ViewExecutor)
ViewOptions

Obtém o MvcViewOptions.

(Herdado de ViewExecutor)
WriterFactory

Obtém o IHttpResponseStreamWriterFactory.

(Herdado de ViewExecutor)

Métodos

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

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

(Herdado de ViewExecutor)
ExecuteAsync(ActionContext, ViewResult)

Executa de forma assíncrona o resultado da ação modificando o HttpResponse.

ExecuteAsync(ViewContext, String, Nullable<Int32>)

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

(Herdado de ViewExecutor)
FindView(ActionContext, ViewResult)

Tenta localizar o associado viewResulta IView .

Aplica-se a