ContainerProvider - конструктор
Создаёт класс с указанием его зависимостей.
Пространство имён: Tessa.Web.ServicesСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.8
public ContainerProvider(
IConfigurationManager configurationManager,
IServiceProvider serviceProvider,
IBackgroundServiceOptions backgroundServiceOptions,
Func<IWebBackgroundServiceQueue> backgroundServiceQueue,
IOptions<WebUnityContainerOptions> unityContainerOptions,
IWebContextAccessor webContextAccessor,
IHttpContextAccessor httpContextAccessor
)
Public Sub New (
configurationManager As IConfigurationManager,
serviceProvider As IServiceProvider,
backgroundServiceOptions As IBackgroundServiceOptions,
backgroundServiceQueue As Func(Of IWebBackgroundServiceQueue),
unityContainerOptions As IOptions(Of WebUnityContainerOptions),
webContextAccessor As IWebContextAccessor,
httpContextAccessor As IHttpContextAccessor
)
public:
ContainerProvider(
IConfigurationManager^ configurationManager,
IServiceProvider^ serviceProvider,
IBackgroundServiceOptions^ backgroundServiceOptions,
Func<IWebBackgroundServiceQueue^>^ backgroundServiceQueue,
IOptions<WebUnityContainerOptions^>^ unityContainerOptions,
IWebContextAccessor^ webContextAccessor,
IHttpContextAccessor^ httpContextAccessor
)
new :
configurationManager : IConfigurationManager *
serviceProvider : IServiceProvider *
backgroundServiceOptions : IBackgroundServiceOptions *
backgroundServiceQueue : Func<IWebBackgroundServiceQueue> *
unityContainerOptions : IOptions<WebUnityContainerOptions> *
webContextAccessor : IWebContextAccessor *
httpContextAccessor : IHttpContextAccessor -> ContainerProvider
Параметры
- configurationManager IConfigurationManager
Объект, управляющий конфигурацией приложений Tessa.
К объекту возможно одновременное обращение из нескольких потоков.
- serviceProvider IServiceProvider
Defines a mechanism for retrieving a service object; that is, an object that provides custom support to other objects.
- backgroundServiceOptions IBackgroundServiceOptions
- backgroundServiceQueue FuncIWebBackgroundServiceQueue
Очередь действий для асинхронной обработки в фоновом режиме веб-сервером.
- unityContainerOptions IOptionsWebUnityContainerOptions
Класс, содержащий список обработчиков операций создания/освобождения контейнера Unity.
- webContextAccessor IWebContextAccessor
Объект, который предоставляет доступ к текущему
IWebContext.
- httpContextAccessor IHttpContextAccessor
Provides access to the current HttpContext, if one is available.