PartialViewResultExecutor 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
PartialViewResultExecutor(IOptions<MvcViewOptions>, IHttpResponseStreamWriterFactory, ICompositeViewEngine, ITempDataDictionaryFactory, DiagnosticListener, ILoggerFactory, IModelMetadataProvider)
public:
PartialViewResultExecutor(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 PartialViewResultExecutor (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.PartialViewResultExecutor : 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.PartialViewResultExecutor
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)
參數
- viewOptions
- IOptions<MvcViewOptions>
- writerFactory
- IHttpResponseStreamWriterFactory
- viewEngine
- ICompositeViewEngine
- tempDataFactory
- ITempDataDictionaryFactory
- diagnosticListener
- DiagnosticListener
- loggerFactory
- ILoggerFactory
- modelMetadataProvider
- IModelMetadataProvider
適用於
PartialViewResultExecutor(IOptions<MvcViewOptions>, IHttpResponseStreamWriterFactory, ICompositeViewEngine, ITempDataDictionaryFactory, DiagnosticSource, ILoggerFactory, IModelMetadataProvider)
public:
PartialViewResultExecutor(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 PartialViewResultExecutor (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.PartialViewResultExecutor : 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.PartialViewResultExecutor
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)
參數
- viewOptions
- IOptions<MvcViewOptions>
- writerFactory
- IHttpResponseStreamWriterFactory
- viewEngine
- ICompositeViewEngine
- tempDataFactory
- ITempDataDictionaryFactory
- diagnosticSource
- DiagnosticSource
- loggerFactory
- ILoggerFactory
- modelMetadataProvider
- IModelMetadataProvider