WorkplaceViewModel - конструктор
Пространство имён: Tessa.UI.ViewsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public WorkplaceViewModel(
[NotNullAttribute] IWorkplaceCreationContext creationContext,
[NotNullAttribute] IQueryRouter queryRouter,
[NotNullAttribute] ICommandRouter commandRouter,
[NotNullAttribute] IContentProviderStorage contentStorage,
[NotNullAttribute] IContentProviderCreationStrategy strategy,
[NotNullAttribute] CreateMenuContextFunc contextMenuFactory,
[NotNullAttribute] ITreeItemAsyncLoaderFactory asyncLoaderFactory
)
Public Sub New (
<NotNullAttribute> creationContext As IWorkplaceCreationContext,
<NotNullAttribute> queryRouter As IQueryRouter,
<NotNullAttribute> commandRouter As ICommandRouter,
<NotNullAttribute> contentStorage As IContentProviderStorage,
<NotNullAttribute> strategy As IContentProviderCreationStrategy,
<NotNullAttribute> contextMenuFactory As CreateMenuContextFunc,
<NotNullAttribute> asyncLoaderFactory As ITreeItemAsyncLoaderFactory
)
public:
WorkplaceViewModel(
[NotNullAttribute] IWorkplaceCreationContext^ creationContext,
[NotNullAttribute] IQueryRouter^ queryRouter,
[NotNullAttribute] ICommandRouter^ commandRouter,
[NotNullAttribute] IContentProviderStorage^ contentStorage,
[NotNullAttribute] IContentProviderCreationStrategy^ strategy,
[NotNullAttribute] CreateMenuContextFunc^ contextMenuFactory,
[NotNullAttribute] ITreeItemAsyncLoaderFactory^ asyncLoaderFactory
)
new :
[<NotNullAttribute>] creationContext : IWorkplaceCreationContext *
[<NotNullAttribute>] queryRouter : IQueryRouter *
[<NotNullAttribute>] commandRouter : ICommandRouter *
[<NotNullAttribute>] contentStorage : IContentProviderStorage *
[<NotNullAttribute>] strategy : IContentProviderCreationStrategy *
[<NotNullAttribute>] contextMenuFactory : CreateMenuContextFunc *
[<NotNullAttribute>] asyncLoaderFactory : ITreeItemAsyncLoaderFactory -> WorkplaceViewModel
Параметры
- creationContext IWorkplaceCreationContext
-
Контекст создания рабочего места
- queryRouter IQueryRouter
-
Сервис обработки перенаправляемых запросов
- commandRouter ICommandRouter
-
Сервис обработки перенаправляемых команд
- contentStorage IContentProviderStorage
-
Хранилище поставщиков содержимого
- strategy IContentProviderCreationStrategy
-
Стратегия создания элементов содержимого
- contextMenuFactory CreateMenuContextFunc
-
Фабрика создания контекстного меню
- asyncLoaderFactory ITreeItemAsyncLoaderFactory
-
The async Loader Factory.