WebUnityFactoryDependencies - конструктор
Пространство имён: Tessa.Web.ServicesСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public WebUnityFactoryDependencies(
IServiceProvider ServiceProvider,
IHttpClientPool HttpClientPool,
IHttpContextAccessor HttpContextAccessor,
IWebContextAccessor WebContextAccessor,
IConfigurationManager ConfigurationManager,
IBackgroundServiceOptions BackgroundServiceOptions,
IWebBackgroundServiceQueue BackgroundServiceQueue,
IRedisConnectionStringCleaner RedisConnectionStringCleaner,
IOptions<WebUnityContainerOptions> UnityContainerOptions
)
Public Sub New (
ServiceProvider As IServiceProvider,
HttpClientPool As IHttpClientPool,
HttpContextAccessor As IHttpContextAccessor,
WebContextAccessor As IWebContextAccessor,
ConfigurationManager As IConfigurationManager,
BackgroundServiceOptions As IBackgroundServiceOptions,
BackgroundServiceQueue As IWebBackgroundServiceQueue,
RedisConnectionStringCleaner As IRedisConnectionStringCleaner,
UnityContainerOptions As IOptions(Of WebUnityContainerOptions)
)
public:
WebUnityFactoryDependencies(
IServiceProvider^ ServiceProvider,
IHttpClientPool^ HttpClientPool,
IHttpContextAccessor^ HttpContextAccessor,
IWebContextAccessor^ WebContextAccessor,
IConfigurationManager^ ConfigurationManager,
IBackgroundServiceOptions^ BackgroundServiceOptions,
IWebBackgroundServiceQueue^ BackgroundServiceQueue,
IRedisConnectionStringCleaner^ RedisConnectionStringCleaner,
IOptions<WebUnityContainerOptions^>^ UnityContainerOptions
)
new :
ServiceProvider : IServiceProvider *
HttpClientPool : IHttpClientPool *
HttpContextAccessor : IHttpContextAccessor *
WebContextAccessor : IWebContextAccessor *
ConfigurationManager : IConfigurationManager *
BackgroundServiceOptions : IBackgroundServiceOptions *
BackgroundServiceQueue : IWebBackgroundServiceQueue *
RedisConnectionStringCleaner : IRedisConnectionStringCleaner *
UnityContainerOptions : IOptions<WebUnityContainerOptions> -> WebUnityFactoryDependencies
Параметры
- ServiceProvider IServiceProvider
Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.
- HttpClientPool IHttpClientPool
Пул объектов HttpClient.
- HttpContextAccessor IHttpContextAccessor
Provides access to the current HttpContext, if one is available.
- WebContextAccessor IWebContextAccessor
Объект, который предоставляет доступ к текущему
IWebContext.
- ConfigurationManager IConfigurationManager
Объект, управляющий конфигурацией приложений.
К объекту возможно одновременное обращение из нескольких потоков.
- BackgroundServiceOptions IBackgroundServiceOptions
- BackgroundServiceQueue IWebBackgroundServiceQueue
Очередь действий для асинхронной обработки в фоновом режиме веб-сервером.
- RedisConnectionStringCleaner IRedisConnectionStringCleaner
Объект, выполняющий очистку строки подключения к Redis от небезопасных данных.
Используйте для маскировки пароля.
- UnityContainerOptions IOptionsWebUnityContainerOptions
Класс, содержащий список обработчиков операций создания/освобождения контейнера Unity.