共用方式為


ViewResultExecutor 建構函式

定義

多載

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

建立新的 ViewResultExecutor

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

建立新的 ViewResultExecutor

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

來源:
ViewResultExecutor.cs

建立新的 ViewResultExecutor

public:
 ViewResultExecutor(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ viewOptions, Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ viewEngine, Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionaryFactory ^ tempDataFactory, System::Diagnostics::DiagnosticListener ^ diagnosticListener, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider);
public ViewResultExecutor (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> viewOptions, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, System.Diagnostics.DiagnosticListener diagnosticListener, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory * System.Diagnostics.DiagnosticListener * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor
Public Sub New (viewOptions As IOptions(Of MvcViewOptions), writerFactory As IHttpResponseStreamWriterFactory, viewEngine As ICompositeViewEngine, tempDataFactory As ITempDataDictionaryFactory, diagnosticListener As DiagnosticListener, loggerFactory As ILoggerFactory, modelMetadataProvider As IModelMetadataProvider)

參數

diagnosticListener
DiagnosticListener

DiagnosticListener

loggerFactory
ILoggerFactory

ILoggerFactory

適用於

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

來源:
ViewResultExecutor.cs
來源:
ViewResultExecutor.cs

建立新的 ViewResultExecutor

public:
 ViewResultExecutor(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ viewOptions, Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ viewEngine, Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionaryFactory ^ tempDataFactory, System::Diagnostics::DiagnosticSource ^ diagnosticSource, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider);
public ViewResultExecutor (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> viewOptions, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, System.Diagnostics.DiagnosticSource diagnosticSource, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory * System.Diagnostics.DiagnosticSource * Microsoft.Extensions.Logging.ILoggerFactory * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor
Public Sub New (viewOptions As IOptions(Of MvcViewOptions), writerFactory As IHttpResponseStreamWriterFactory, viewEngine As ICompositeViewEngine, tempDataFactory As ITempDataDictionaryFactory, diagnosticSource As DiagnosticSource, loggerFactory As ILoggerFactory, modelMetadataProvider As IModelMetadataProvider)

參數

diagnosticSource
DiagnosticSource

DiagnosticSource

loggerFactory
ILoggerFactory

ILoggerFactory

適用於