LazyEditorModel - конструктор
Пространство имён: Tessa.UI.Cards.EditorsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public LazyEditorModel(
Func<Task<IEditorViewModel>> getValueFuncAsync,
Func<IEditorViewModel, Task> onValueCreatedAsync = null
)
Public Sub New (
getValueFuncAsync As Func(Of Task(Of IEditorViewModel)),
Optional onValueCreatedAsync As Func(Of IEditorViewModel, Task) = Nothing
)
public:
LazyEditorModel(
Func<Task<IEditorViewModel^>^>^ getValueFuncAsync,
Func<IEditorViewModel^, Task^>^ onValueCreatedAsync = nullptr
)
new :
getValueFuncAsync : Func<Task<IEditorViewModel>> *
?onValueCreatedAsync : Func<IEditorViewModel, Task>
(* Defaults:
let _onValueCreatedAsync = defaultArg onValueCreatedAsync null
*)
-> LazyEditorModel
Параметры
- getValueFuncAsync FuncTaskIEditorViewModel
-
- onValueCreatedAsync FuncIEditorViewModel, Task (Optional)
-