ViewExecutor 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticListener)
建立新的 ViewExecutor。
protected:
ViewExecutor(Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ viewEngine, System::Diagnostics::DiagnosticListener ^ diagnosticListener);
protected ViewExecutor (Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, System.Diagnostics.DiagnosticListener diagnosticListener);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * System.Diagnostics.DiagnosticListener -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor
Protected Sub New (writerFactory As IHttpResponseStreamWriterFactory, viewEngine As ICompositeViewEngine, diagnosticListener As DiagnosticListener)
參數
- writerFactory
- IHttpResponseStreamWriterFactory
- viewEngine
- ICompositeViewEngine
- diagnosticListener
- DiagnosticListener
適用於
ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticSource)
建立新的 ViewExecutor。
protected:
ViewExecutor(Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ viewEngine, System::Diagnostics::DiagnosticSource ^ diagnosticSource);
protected ViewExecutor (Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, System.Diagnostics.DiagnosticSource diagnosticSource);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor : Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * System.Diagnostics.DiagnosticSource -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor
Protected Sub New (writerFactory As IHttpResponseStreamWriterFactory, viewEngine As ICompositeViewEngine, diagnosticSource As DiagnosticSource)
參數
- writerFactory
- IHttpResponseStreamWriterFactory
- viewEngine
- ICompositeViewEngine
- diagnosticSource
- DiagnosticSource
適用於
ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticSource)
建立新的 ViewExecutor。
protected:
ViewExecutor(Microsoft::AspNetCore::Mvc::Internal::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ viewEngine, System::Diagnostics::DiagnosticSource ^ diagnosticSource);
protected ViewExecutor (Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, System.Diagnostics.DiagnosticSource diagnosticSource);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor : Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * System.Diagnostics.DiagnosticSource -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor
Protected Sub New (writerFactory As IHttpResponseStreamWriterFactory, viewEngine As ICompositeViewEngine, diagnosticSource As DiagnosticSource)
參數
- writerFactory
- Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory
Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory。
- viewEngine
- ICompositeViewEngine
- diagnosticSource
- DiagnosticSource
適用於
ViewExecutor(IOptions<MvcViewOptions>, IHttpResponseStreamWriterFactory, ICompositeViewEngine, ITempDataDictionaryFactory, DiagnosticListener, IModelMetadataProvider)
建立新的 ViewExecutor。
public:
ViewExecutor(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::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider);
public ViewExecutor (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.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor : 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.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor
Public Sub New (viewOptions As IOptions(Of MvcViewOptions), writerFactory As IHttpResponseStreamWriterFactory, viewEngine As ICompositeViewEngine, tempDataFactory As ITempDataDictionaryFactory, diagnosticListener As DiagnosticListener, modelMetadataProvider As IModelMetadataProvider)
參數
- viewOptions
- IOptions<MvcViewOptions>
- writerFactory
- IHttpResponseStreamWriterFactory
- viewEngine
- ICompositeViewEngine
- tempDataFactory
- ITempDataDictionaryFactory
- diagnosticListener
- DiagnosticListener
- modelMetadataProvider
- IModelMetadataProvider
適用於
ViewExecutor(IOptions<MvcViewOptions>, IHttpResponseStreamWriterFactory, ICompositeViewEngine, ITempDataDictionaryFactory, DiagnosticSource, IModelMetadataProvider)
建立新的 ViewExecutor。
public:
ViewExecutor(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::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider);
public ViewExecutor (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.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor : 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.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor
Public Sub New (viewOptions As IOptions(Of MvcViewOptions), writerFactory As IHttpResponseStreamWriterFactory, viewEngine As ICompositeViewEngine, tempDataFactory As ITempDataDictionaryFactory, diagnosticSource As DiagnosticSource, modelMetadataProvider As IModelMetadataProvider)
參數
- viewOptions
- IOptions<MvcViewOptions>
- writerFactory
- IHttpResponseStreamWriterFactory
- viewEngine
- ICompositeViewEngine
- tempDataFactory
- ITempDataDictionaryFactory
- diagnosticSource
- DiagnosticSource
- modelMetadataProvider
- IModelMetadataProvider
適用於
ViewExecutor(IOptions<MvcViewOptions>, IHttpResponseStreamWriterFactory, ICompositeViewEngine, ITempDataDictionaryFactory, DiagnosticSource, IModelMetadataProvider)
建立新的 ViewExecutor。
public:
ViewExecutor(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ viewOptions, Microsoft::AspNetCore::Mvc::Internal::IHttpResponseStreamWriterFactory ^ writerFactory, Microsoft::AspNetCore::Mvc::ViewEngines::ICompositeViewEngine ^ viewEngine, Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionaryFactory ^ tempDataFactory, System::Diagnostics::DiagnosticSource ^ diagnosticSource, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider);
public ViewExecutor (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> viewOptions, Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory writerFactory, Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine viewEngine, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataFactory, System.Diagnostics.DiagnosticSource diagnosticSource, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory * Microsoft.AspNetCore.Mvc.ViewEngines.ICompositeViewEngine * Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory * System.Diagnostics.DiagnosticSource * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor
Public Sub New (viewOptions As IOptions(Of MvcViewOptions), writerFactory As IHttpResponseStreamWriterFactory, viewEngine As ICompositeViewEngine, tempDataFactory As ITempDataDictionaryFactory, diagnosticSource As DiagnosticSource, modelMetadataProvider As IModelMetadataProvider)
參數
- viewOptions
- IOptions<MvcViewOptions>
- writerFactory
- Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory
Microsoft.AspNetCore.Mvc.Internal.IHttpResponseStreamWriterFactory。
- viewEngine
- ICompositeViewEngine
- tempDataFactory
- ITempDataDictionaryFactory
- diagnosticSource
- DiagnosticSource
- modelMetadataProvider
- IModelMetadataProvider