Share via


ViewResultExecutor Class

Definition

Finds and executes an IView for a 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)
Inheritance
ViewResultExecutor
Implements

Constructors

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

Creates a new ViewResultExecutor.

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

Creates a new ViewResultExecutor.

Properties

DiagnosticListener

Gets the DiagnosticListener.

(Inherited from ViewExecutor)
DiagnosticSource

Gets the DiagnosticSource.

(Inherited from ViewExecutor)
Logger

Gets the ILogger.

ModelMetadataProvider

Gets the IModelMetadataProvider.

(Inherited from ViewExecutor)
TempDataFactory

Gets the ITempDataDictionaryFactory.

(Inherited from ViewExecutor)
ViewEngine

Gets the default IViewEngine.

(Inherited from ViewExecutor)
ViewOptions

Gets the MvcViewOptions.

(Inherited from ViewExecutor)
WriterFactory

Gets the IHttpResponseStreamWriterFactory.

(Inherited from ViewExecutor)

Methods

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

Executes a view asynchronously.

(Inherited from ViewExecutor)
ExecuteAsync(ActionContext, ViewResult)

Asynchronously executes the action result, by modifying the HttpResponse.

ExecuteAsync(ViewContext, String, Nullable<Int32>)

Executes a view asynchronously.

(Inherited from ViewExecutor)
FindView(ActionContext, ViewResult)

Attempts to find the IView associated with viewResult.

Applies to