Sdílet prostřednictvím


ViewResultExecutor Třída

Definice

Najde a spustí IView pro 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)
Dědičnost
ViewResultExecutor
Implementuje

Konstruktory

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

Vytvoří nový objekt ViewResultExecutor.

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

Vytvoří nový objekt ViewResultExecutor.

Vlastnosti

DiagnosticListener

Získá .DiagnosticListener

(Zděděno od ViewExecutor)
DiagnosticSource

Získá .DiagnosticSource

(Zděděno od ViewExecutor)
Logger

Získá .ILogger

ModelMetadataProvider

Získá .IModelMetadataProvider

(Zděděno od ViewExecutor)
TempDataFactory

Získá .ITempDataDictionaryFactory

(Zděděno od ViewExecutor)
ViewEngine

Získá výchozí IViewEnginehodnotu .

(Zděděno od ViewExecutor)
ViewOptions

Získá .MvcViewOptions

(Zděděno od ViewExecutor)
WriterFactory

Získá .IHttpResponseStreamWriterFactory

(Zděděno od ViewExecutor)

Metody

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

Spustí zobrazení asynchronně.

(Zděděno od ViewExecutor)
ExecuteAsync(ActionContext, ViewResult)

Asynchronně provede výsledek akce úpravou .HttpResponse

ExecuteAsync(ViewContext, String, Nullable<Int32>)

Spustí zobrazení asynchronně.

(Zděděno od ViewExecutor)
FindView(ActionContext, ViewResult)

Pokusí se najít přidruženou viewResultk IView .

Platí pro