ViewExecutor 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticListener)
- Source:
- ViewExecutor.cs
创建一个新的 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)
参数
- viewEngine
- ICompositeViewEngine
- diagnosticListener
- DiagnosticListener
适用于
ViewExecutor(IHttpResponseStreamWriterFactory, ICompositeViewEngine, DiagnosticSource)
- Source:
- ViewExecutor.cs
- Source:
- ViewExecutor.cs
创建一个新的 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)
参数
- 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)
- Source:
- ViewExecutor.cs
创建一个新的 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>
- viewEngine
- ICompositeViewEngine
- tempDataFactory
- ITempDataDictionaryFactory
- diagnosticListener
- DiagnosticListener
- modelMetadataProvider
- IModelMetadataProvider
适用于
ViewExecutor(IOptions<MvcViewOptions>, IHttpResponseStreamWriterFactory, ICompositeViewEngine, ITempDataDictionaryFactory, DiagnosticSource, IModelMetadataProvider)
- Source:
- ViewExecutor.cs
- Source:
- ViewExecutor.cs
创建一个新的 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>
- 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