Compartir a través de


ViewComponentResultExecutor Constructores

Definición

Sobrecargas

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

Inicialización de una nueva instancia de ViewComponentResultExecutor

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

Source:
ViewComponentResultExecutor.cs
Source:
ViewComponentResultExecutor.cs

Precaución

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)

Parámetros

mvcHelperOptions
IOptions<MvcViewOptions>
loggerFactory
ILoggerFactory
htmlEncoder
HtmlEncoder
modelMetadataProvider
IModelMetadataProvider
tempDataDictionaryFactory
ITempDataDictionaryFactory
Atributos

Se aplica a

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

Source:
ViewComponentResultExecutor.cs

Inicialización de una nueva instancia de ViewComponentResultExecutor

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)

Parámetros

htmlEncoder
HtmlEncoder

HtmlEncoder.

Se aplica a