Partager via


ViewComponentResultExecutor Constructeurs

Définition

Surcharges

ViewComponentResultExecutor(IOptions<MvcViewOptions>, ILoggerFactory, HtmlEncoder, IModelMetadataProvider, ITempDataDictionaryFactory)
Obsolète.
ViewComponentResultExecutor(IOptions<MvcViewOptions>, ILoggerFactory, HtmlEncoder, IModelMetadataProvider, ITempDataDictionaryFactory, IHttpResponseStreamWriterFactory)

Initialiser une nouvelle instance deViewComponentResultExecutor

ViewComponentResultExecutor(IOptions<MvcViewOptions>, ILoggerFactory, HtmlEncoder, IModelMetadataProvider, ITempDataDictionaryFactory)

Source:
ViewComponentResultExecutor.cs
Source:
ViewComponentResultExecutor.cs

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)

Source:
ViewComponentResultExecutor.cs

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

S’applique à