WorkplaceViewModel - конструктор |
Пространство имён:
Tessa.UI.Views
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: Tessa.UI.ViewsIWorkplaceCreationContext
Контекст создания рабочего места
- queryRouter
- Тип: Tessa.Views.MessageServicesIQueryRouter
Сервис обработки перенаправляемых запросов
- commandRouter
- Тип: Tessa.Views.MessageServicesICommandRouter
Сервис обработки перенаправляемых команд
- contentStorage
- Тип: Tessa.UI.Views.WorkplacesIContentProviderStorage
Хранилище поставщиков содержимого
- strategy
- Тип: Tessa.UI.Views.WorkplacesIContentProviderCreationStrategy
Стратегия создания элементов содержимого
- contextMenuFactory
- Тип: Tessa.UI.MenuCreateMenuContextFunc
Фабрика создания контекстного меню
- asyncLoaderFactory
- Тип: Tessa.UI.Views.Workplaces.TreeITreeItemAsyncLoaderFactory
The async Loader Factory.
См. также