Share via


ViewComponentResultExecutor Constructors

Definition

Overloads

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

Initialize a new instance of ViewComponentResultExecutor

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

Source:
ViewComponentResultExecutor.cs
Source:
ViewComponentResultExecutor.cs

Caution

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)

Parameters

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

Applies to

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

Source:
ViewComponentResultExecutor.cs

Initialize a new instance of 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)

Parameters

mvcHelperOptions
IOptions<MvcViewOptions>

The IOptions<TOptions>.

loggerFactory
ILoggerFactory

The ILoggerFactory.

htmlEncoder
HtmlEncoder

The HtmlEncoder.

modelMetadataProvider
IModelMetadataProvider

The IModelMetadataProvider.

Applies to