Поделиться через


ViewComponentResultExecutor Конструкторы

Определение

Перегрузки

ViewComponentResultExecutor(IOptions<MvcViewOptions>, ILoggerFactory, HtmlEncoder, IModelMetadataProvider, ITempDataDictionaryFactory)
Устаревшие..
ViewComponentResultExecutor(IOptions<MvcViewOptions>, ILoggerFactory, HtmlEncoder, IModelMetadataProvider, ITempDataDictionaryFactory, IHttpResponseStreamWriterFactory)

Инициализация нового экземпляра ViewComponentResultExecutor

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

Исходный код:
ViewComponentResultExecutor.cs
Исходный код:
ViewComponentResultExecutor.cs

Внимание!

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)

Параметры

mvcHelperOptions
IOptions<MvcViewOptions>
loggerFactory
ILoggerFactory
htmlEncoder
HtmlEncoder
modelMetadataProvider
IModelMetadataProvider
tempDataDictionaryFactory
ITempDataDictionaryFactory
Атрибуты

Применяется к

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

Исходный код:
ViewComponentResultExecutor.cs

Инициализация нового экземпляра 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)

Параметры

htmlEncoder
HtmlEncoder

HtmlEncoder.

Применяется к