DependencyContainerHolder - конструктор
Пространство имён: Tessa.UI.AppManagerСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public DependencyContainerHolder(
[NotNullAttribute] ContainerInitializationDelegate initializeContainer,
[NotNullAttribute] Func<Task<IApplicationCatalogRegistry>> getCatalogRegistryFuncAsync,
[NotNullAttribute] IApplicationCatalogSaver applicationCatalogSaver,
[NotNullAttribute] ApplicationCatalogFactoryDelegate applicationCatalogFactory,
[NotNullAttribute] ISessionManager sessionManager,
[OptionalDependencyAttribute][CanBeNullAttribute] ISessionManager defaultApplicationSessionManager = null,
[OptionalDependencyAttribute] IUnityDisposableContainer disposableContainer = null
)
Public Sub New (
<NotNullAttribute> initializeContainer As ContainerInitializationDelegate,
<NotNullAttribute> getCatalogRegistryFuncAsync As Func(Of Task(Of IApplicationCatalogRegistry)),
<NotNullAttribute> applicationCatalogSaver As IApplicationCatalogSaver,
<NotNullAttribute> applicationCatalogFactory As ApplicationCatalogFactoryDelegate,
<NotNullAttribute> sessionManager As ISessionManager,
<OptionalDependencyAttribute><CanBeNullAttribute> Optional defaultApplicationSessionManager As ISessionManager = Nothing,
<OptionalDependencyAttribute> Optional disposableContainer As IUnityDisposableContainer = Nothing
)
public:
DependencyContainerHolder(
[NotNullAttribute] ContainerInitializationDelegate^ initializeContainer,
[NotNullAttribute] Func<Task<IApplicationCatalogRegistry^>^>^ getCatalogRegistryFuncAsync,
[NotNullAttribute] IApplicationCatalogSaver^ applicationCatalogSaver,
[NotNullAttribute] ApplicationCatalogFactoryDelegate^ applicationCatalogFactory,
[NotNullAttribute] ISessionManager^ sessionManager,
[OptionalDependencyAttribute][CanBeNullAttribute] ISessionManager^ defaultApplicationSessionManager = nullptr,
[OptionalDependencyAttribute] IUnityDisposableContainer^ disposableContainer = nullptr
)
new :
[<NotNullAttribute>] initializeContainer : ContainerInitializationDelegate *
[<NotNullAttribute>] getCatalogRegistryFuncAsync : Func<Task<IApplicationCatalogRegistry>> *
[<NotNullAttribute>] applicationCatalogSaver : IApplicationCatalogSaver *
[<NotNullAttribute>] applicationCatalogFactory : ApplicationCatalogFactoryDelegate *
[<NotNullAttribute>] sessionManager : ISessionManager *
[<OptionalDependencyAttribute>][<CanBeNullAttribute>] ?defaultApplicationSessionManager : ISessionManager *
[<OptionalDependencyAttribute>] ?disposableContainer : IUnityDisposableContainer
(* Defaults:
let _defaultApplicationSessionManager = defaultArg defaultApplicationSessionManager null
let _disposableContainer = defaultArg disposableContainer null
*)
-> DependencyContainerHolder
Параметры
- initializeContainer ContainerInitializationDelegate
-
Инициализатор контейнера
- getCatalogRegistryFuncAsync FuncTaskIApplicationCatalogRegistry
- applicationCatalogSaver IApplicationCatalogSaver
- applicationCatalogFactory ApplicationCatalogFactoryDelegate
- sessionManager ISessionManager
- defaultApplicationSessionManager ISessionManager (Optional)
- disposableContainer IUnityDisposableContainer (Optional)