ViewComponentResultExecutor Constructeurs
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ViewComponentResultExecutor(IOptions<MvcViewOptions>, ILoggerFactory, HtmlEncoder, IModelMetadataProvider, ITempDataDictionaryFactory)
Attention
This constructor is obsolete and will be removed in a future version.
public:
ViewComponentResultExecutor(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ mvcHelperOptions, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider, Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionaryFactory ^ tempDataDictionaryFactory);
public ViewComponentResultExecutor (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> mvcHelperOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataDictionaryFactory);
[System.Obsolete("This constructor is obsolete and will be removed in a future version.")]
public ViewComponentResultExecutor (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> mvcHelperOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataDictionaryFactory);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.HtmlEncoder * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor
[<System.Obsolete("This constructor is obsolete and will be removed in a future version.")>]
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.HtmlEncoder * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor
Public Sub New (mvcHelperOptions As IOptions(Of MvcViewOptions), loggerFactory As ILoggerFactory, htmlEncoder As HtmlEncoder, modelMetadataProvider As IModelMetadataProvider, tempDataDictionaryFactory As ITempDataDictionaryFactory)
Paramètres
- mvcHelperOptions
- IOptions<MvcViewOptions>
- loggerFactory
- ILoggerFactory
- htmlEncoder
- HtmlEncoder
- modelMetadataProvider
- IModelMetadataProvider
- tempDataDictionaryFactory
- ITempDataDictionaryFactory
- Attributs
S’applique à
ViewComponentResultExecutor(IOptions<MvcViewOptions>, ILoggerFactory, HtmlEncoder, IModelMetadataProvider, ITempDataDictionaryFactory, IHttpResponseStreamWriterFactory)
Initialiser une nouvelle instance deViewComponentResultExecutor
public:
ViewComponentResultExecutor(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Mvc::MvcViewOptions ^> ^ mvcHelperOptions, Microsoft::Extensions::Logging::ILoggerFactory ^ loggerFactory, System::Text::Encodings::Web::HtmlEncoder ^ htmlEncoder, Microsoft::AspNetCore::Mvc::ModelBinding::IModelMetadataProvider ^ modelMetadataProvider, Microsoft::AspNetCore::Mvc::ViewFeatures::ITempDataDictionaryFactory ^ tempDataDictionaryFactory, Microsoft::AspNetCore::Mvc::Infrastructure::IHttpResponseStreamWriterFactory ^ writerFactory);
public ViewComponentResultExecutor (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> mvcHelperOptions, Microsoft.Extensions.Logging.ILoggerFactory loggerFactory, System.Text.Encodings.Web.HtmlEncoder htmlEncoder, Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider modelMetadataProvider, Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory tempDataDictionaryFactory, Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory writerFactory);
new Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Mvc.MvcViewOptions> * Microsoft.Extensions.Logging.ILoggerFactory * System.Text.Encodings.Web.HtmlEncoder * Microsoft.AspNetCore.Mvc.ModelBinding.IModelMetadataProvider * Microsoft.AspNetCore.Mvc.ViewFeatures.ITempDataDictionaryFactory * Microsoft.AspNetCore.Mvc.Infrastructure.IHttpResponseStreamWriterFactory -> Microsoft.AspNetCore.Mvc.ViewFeatures.ViewComponentResultExecutor
Public Sub New (mvcHelperOptions As IOptions(Of MvcViewOptions), loggerFactory As ILoggerFactory, htmlEncoder As HtmlEncoder, modelMetadataProvider As IModelMetadataProvider, tempDataDictionaryFactory As ITempDataDictionaryFactory, writerFactory As IHttpResponseStreamWriterFactory)
Paramètres
- mvcHelperOptions
- IOptions<MvcViewOptions>
L’IOptions<TOptions>opérateur
- loggerFactory
- ILoggerFactory
L’ILoggerFactoryopérateur
- htmlEncoder
- HtmlEncoder
L’HtmlEncoderopérateur
- modelMetadataProvider
- IModelMetadataProvider
L’IModelMetadataProvideropérateur
- tempDataDictionaryFactory
- ITempDataDictionaryFactory
L’ITempDataDictionaryFactoryopérateur
- writerFactory
- IHttpResponseStreamWriterFactory
L’IHttpResponseStreamWriterFactoryopérateur