RefreshNodeCommand - конструктор
Пространство имён: Tessa.UI.Views.MessagingServices.CommandsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public RefreshNodeCommand(
[NotNullAttribute] IWorkplaceViewModel workplace,
[NotNullAttribute] ITreeItem treeItem,
[CanBeNullAttribute] ITreeItemUpdateContext updateContext = null,
[CanBeNullAttribute] Func<Task, Task> onCompletedAsync = null
)
Public Sub New (
<NotNullAttribute> workplace As IWorkplaceViewModel,
<NotNullAttribute> treeItem As ITreeItem,
<CanBeNullAttribute> Optional updateContext As ITreeItemUpdateContext = Nothing,
<CanBeNullAttribute> Optional onCompletedAsync As Func(Of Task, Task) = Nothing
)
public:
RefreshNodeCommand(
[NotNullAttribute] IWorkplaceViewModel^ workplace,
[NotNullAttribute] ITreeItem^ treeItem,
[CanBeNullAttribute] ITreeItemUpdateContext^ updateContext = nullptr,
[CanBeNullAttribute] Func<Task^, Task^>^ onCompletedAsync = nullptr
)
new :
[<NotNullAttribute>] workplace : IWorkplaceViewModel *
[<NotNullAttribute>] treeItem : ITreeItem *
[<CanBeNullAttribute>] ?updateContext : ITreeItemUpdateContext *
[<CanBeNullAttribute>] ?onCompletedAsync : Func<Task, Task>
(* Defaults:
let _updateContext = defaultArg updateContext null
let _onCompletedAsync = defaultArg onCompletedAsync null
*)
-> RefreshNodeCommand
Параметры
- workplace IWorkplaceViewModel
-
Модель рабочего места
- treeItem ITreeItem
-
Узел дерева
- updateContext ITreeItemUpdateContext (Optional)
-
Путь обновления
- onCompletedAsync FuncTask, Task (Optional)
-
Действие вызываемое по завершению выполнения задачи