ViewExecutor Class

Definition

Executes an IView.

public ref class ViewExecutor
public class ViewExecutor
type ViewExecutor = class
Public Class ViewExecutor
Inheritance
ViewExecutor
Derived

Constructors

ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticListener)

Creates a new ViewExecutor.

ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticSource)

Creates a new ViewExecutor.

ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticSource)

Creates a new ViewExecutor.

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

Creates a new ViewExecutor.

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

Creates a new ViewExecutor.

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

Creates a new ViewExecutor.

Fields

DefaultContentType

The default content-type header value for views, text/html; charset=utf-8.

Properties

DiagnosticListener

Gets the DiagnosticListener.

DiagnosticSource

Gets the DiagnosticSource.

ModelMetadataProvider

Gets the IModelMetadataProvider.

TempDataFactory

Gets the ITempDataDictionaryFactory.

ViewEngine

Gets the default IViewEngine.

ViewOptions

Gets the MvcViewOptions.

WriterFactory

Gets the IHttpResponseStreamWriterFactory.

Methods

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

Executes a view asynchronously.

ExecuteAsync(ViewContext, String, Nullable<Int32>)

Executes a view asynchronously.

Applies to