ControlEditorWithNestedWindowViewModel(String, String, IEditorViewModel, IEditorViewModel, FuncIEditorViewModel, String, CancellationToken, FuncCancellationToken, ValueTask, ValueTask, FuncIEditorViewModel, FuncCancellationToken, ValueTask) - конструктор
Пространство имён: Tessa.UI.Cards.EditorsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public ControlEditorWithNestedWindowViewModel(
string controlTypeName,
string nestedEditorButtonCaption,
IEditorViewModel controlEditor,
IEditorViewModel blockControlEditor,
Func<IEditorViewModel, string, CancellationToken, Func<CancellationToken, ValueTask>, ValueTask> showEditorFuncAsync,
Func<IEditorViewModel> createNestedWindowViewModel,
Func<CancellationToken, ValueTask> completionFuncAsync = null
)
Public Sub New (
controlTypeName As String,
nestedEditorButtonCaption As String,
controlEditor As IEditorViewModel,
blockControlEditor As IEditorViewModel,
showEditorFuncAsync As Func(Of IEditorViewModel, String, CancellationToken, Func(Of CancellationToken, ValueTask), ValueTask),
createNestedWindowViewModel As Func(Of IEditorViewModel),
Optional completionFuncAsync As Func(Of CancellationToken, ValueTask) = Nothing
)
public:
ControlEditorWithNestedWindowViewModel(
String^ controlTypeName,
String^ nestedEditorButtonCaption,
IEditorViewModel^ controlEditor,
IEditorViewModel^ blockControlEditor,
Func<IEditorViewModel^, String^, CancellationToken, Func<CancellationToken, ValueTask>^, ValueTask>^ showEditorFuncAsync,
Func<IEditorViewModel^>^ createNestedWindowViewModel,
Func<CancellationToken, ValueTask>^ completionFuncAsync = nullptr
)
new :
controlTypeName : string *
nestedEditorButtonCaption : string *
controlEditor : IEditorViewModel *
blockControlEditor : IEditorViewModel *
showEditorFuncAsync : Func<IEditorViewModel, string, CancellationToken, Func<CancellationToken, ValueTask>, ValueTask> *
createNestedWindowViewModel : Func<IEditorViewModel> *
?completionFuncAsync : Func<CancellationToken, ValueTask>
(* Defaults:
let _completionFuncAsync = defaultArg completionFuncAsync null
*)
-> ControlEditorWithNestedWindowViewModel
Параметры
- controlTypeName String
-
- nestedEditorButtonCaption String
-
- controlEditor IEditorViewModel
-
- blockControlEditor IEditorViewModel
-
- showEditorFuncAsync FuncIEditorViewModel, String, CancellationToken, FuncCancellationToken, ValueTask, ValueTask
-
- createNestedWindowViewModel FuncIEditorViewModel
-
- completionFuncAsync FuncCancellationToken, ValueTask (Optional)
-