Dela via


PartialViewResultExecutor Class

Definition

Finds and executes an IView for a PartialViewResult.

public ref class PartialViewResultExecutor : Microsoft::AspNetCore::Mvc::ViewFeatures::ViewExecutor, Microsoft::AspNetCore::Mvc::Infrastructure::IActionResultExecutor<Microsoft::AspNetCore::Mvc::PartialViewResult ^>
public class PartialViewResultExecutor : Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor, Microsoft.AspNetCore.Mvc.Infrastructure.IActionResultExecutor<Microsoft.AspNetCore.Mvc.PartialViewResult>
type PartialViewResultExecutor = class
    inherit ViewExecutor
    interface IActionResultExecutor<PartialViewResult>
Public Class PartialViewResultExecutor
Inherits ViewExecutor
Implements IActionResultExecutor(Of PartialViewResult)
Inheritance
PartialViewResultExecutor
Implements

Constructors

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

Creates a new PartialViewResultExecutor.

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

Creates a new PartialViewResultExecutor.

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, PartialViewResult)

Executes the IView asynchronously.

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

Executes a view asynchronously.

(Inherited from ViewExecutor)
ExecuteAsync(ActionContext, PartialViewResult)

Asynchronously executes the action result, by modifying the HttpResponse.

ExecuteAsync(ViewContext, String, Nullable<Int32>)

Executes a view asynchronously.

(Inherited from ViewExecutor)
FindView(ActionContext, PartialViewResult)

Attempts to find the IView associated with viewResult.

Applies to