Condividi tramite


ViewResultExecutor Classe

Definizione

Trova ed esegue un oggetto IView per un ViewResultoggetto .

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)
Ereditarietà
ViewResultExecutor
Implementazioni

Costruttori

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

Crea un nuovo oggetto ViewResultExecutor.

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

Crea un nuovo oggetto ViewResultExecutor.

Proprietà

DiagnosticListener

Ottiene l'oggetto DiagnosticListener.

(Ereditato da ViewExecutor)
DiagnosticSource

Ottiene l'oggetto DiagnosticSource.

(Ereditato da ViewExecutor)
Logger

Ottiene l'oggetto ILogger.

ModelMetadataProvider

Ottiene l'oggetto IModelMetadataProvider.

(Ereditato da ViewExecutor)
TempDataFactory

Ottiene l'oggetto ITempDataDictionaryFactory.

(Ereditato da ViewExecutor)
ViewEngine

Ottiene l'elemento IViewEngine predefinito.

(Ereditato da ViewExecutor)
ViewOptions

Ottiene l'oggetto MvcViewOptions.

(Ereditato da ViewExecutor)
WriterFactory

Ottiene l'oggetto IHttpResponseStreamWriterFactory.

(Ereditato da ViewExecutor)

Metodi

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

Esegue una visualizzazione in modo asincrono.

(Ereditato da ViewExecutor)
ExecuteAsync(ActionContext, ViewResult)

Esegue in modo asincrono il risultato dell'azione modificando .HttpResponse

ExecuteAsync(ViewContext, String, Nullable<Int32>)

Esegue una visualizzazione in modo asincrono.

(Ereditato da ViewExecutor)
FindView(ActionContext, ViewResult)

Tenta di trovare l'oggetto IView associato a viewResult.

Si applica a