WorkplaceViewComponent - конструктор
Пространство имён: Tessa.UI.ViewsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public WorkplaceViewComponent(
[NotNullAttribute] Func<ISequencedDataLoader> loaderFactory,
[NotNullAttribute] Func<IWorkplaceViewComponent, CancellationToken, ValueTask<IViewParameters>> parametersFactoryAsync,
[NotNullAttribute] IWorkplaceViewModel workplace,
[CanBeNullAttribute] IWorkplaceViewComponent masterContext,
[NotNullAttribute] Func<IViewMetadata, IViewSorting> sortingFactory,
[NotNullAttribute] ICommandDispatcher commandDispatcher,
[NotNullAttribute] IQueryDispatcher queryDispatcher
)
Public Sub New (
<NotNullAttribute> loaderFactory As Func(Of ISequencedDataLoader),
<NotNullAttribute> parametersFactoryAsync As Func(Of IWorkplaceViewComponent, CancellationToken, ValueTask(Of IViewParameters)),
<NotNullAttribute> workplace As IWorkplaceViewModel,
<CanBeNullAttribute> masterContext As IWorkplaceViewComponent,
<NotNullAttribute> sortingFactory As Func(Of IViewMetadata, IViewSorting),
<NotNullAttribute> commandDispatcher As ICommandDispatcher,
<NotNullAttribute> queryDispatcher As IQueryDispatcher
)
public:
WorkplaceViewComponent(
[NotNullAttribute] Func<ISequencedDataLoader^>^ loaderFactory,
[NotNullAttribute] Func<IWorkplaceViewComponent^, CancellationToken, ValueTask<IViewParameters^>>^ parametersFactoryAsync,
[NotNullAttribute] IWorkplaceViewModel^ workplace,
[CanBeNullAttribute] IWorkplaceViewComponent^ masterContext,
[NotNullAttribute] Func<IViewMetadata^, IViewSorting^>^ sortingFactory,
[NotNullAttribute] ICommandDispatcher^ commandDispatcher,
[NotNullAttribute] IQueryDispatcher^ queryDispatcher
)
new :
[<NotNullAttribute>] loaderFactory : Func<ISequencedDataLoader> *
[<NotNullAttribute>] parametersFactoryAsync : Func<IWorkplaceViewComponent, CancellationToken, ValueTask<IViewParameters>> *
[<NotNullAttribute>] workplace : IWorkplaceViewModel *
[<CanBeNullAttribute>] masterContext : IWorkplaceViewComponent *
[<NotNullAttribute>] sortingFactory : Func<IViewMetadata, IViewSorting> *
[<NotNullAttribute>] commandDispatcher : ICommandDispatcher *
[<NotNullAttribute>] queryDispatcher : IQueryDispatcher -> WorkplaceViewComponent
Параметры
- loaderFactory FuncISequencedDataLoader
- Фабрика создания загрузчика
- parametersFactoryAsync FuncIWorkplaceViewComponent, CancellationToken, ValueTaskIViewParameters
- Фабрика создания набора параметров
- workplace IWorkplaceViewModel
- Рабочее место
- masterContext IWorkplaceViewComponent
- Родительский элемент
- sortingFactory FuncIViewMetadata, IViewSorting
- The sorting Factory.
- commandDispatcher ICommandDispatcher
- Диспетчер команд
- queryDispatcher IQueryDispatcher
- Диспетчер запросов