TaskViewModelInitializeAsync - метод
Пространство имён: Tessa.UI.Cards.TasksСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public Task InitializeAsync(
ICardModel parentModel,
CardTask cardTask,
ITaskInfoViewModelFactory taskInfoViewModelFactory,
CreateCardModelFuncAsync createModelFuncAsync,
CreateCardModelWithMetadataFuncAsync createModelWithMetadataFuncAsync,
CreateCardFormFuncAsync createFormFuncAsync,
CreateFileSourceForCardModelFuncAsync createFileSourceForCardModelFuncAsync,
CreateFileUIContainerFuncAsync createFileUIContainerFuncAsync,
ICardMetadata cardMetadata,
ICardDialogManager dialogManager,
ICardUIResolver cardUIResolver,
CancellationToken cancellationToken = default
)
Public Function InitializeAsync (
parentModel As ICardModel,
cardTask As CardTask,
taskInfoViewModelFactory As ITaskInfoViewModelFactory,
createModelFuncAsync As CreateCardModelFuncAsync,
createModelWithMetadataFuncAsync As CreateCardModelWithMetadataFuncAsync,
createFormFuncAsync As CreateCardFormFuncAsync,
createFileSourceForCardModelFuncAsync As CreateFileSourceForCardModelFuncAsync,
createFileUIContainerFuncAsync As CreateFileUIContainerFuncAsync,
cardMetadata As ICardMetadata,
dialogManager As ICardDialogManager,
cardUIResolver As ICardUIResolver,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
Task^ InitializeAsync(
ICardModel^ parentModel,
CardTask^ cardTask,
ITaskInfoViewModelFactory^ taskInfoViewModelFactory,
CreateCardModelFuncAsync^ createModelFuncAsync,
CreateCardModelWithMetadataFuncAsync^ createModelWithMetadataFuncAsync,
CreateCardFormFuncAsync^ createFormFuncAsync,
CreateFileSourceForCardModelFuncAsync^ createFileSourceForCardModelFuncAsync,
CreateFileUIContainerFuncAsync^ createFileUIContainerFuncAsync,
ICardMetadata^ cardMetadata,
ICardDialogManager^ dialogManager,
ICardUIResolver^ cardUIResolver,
CancellationToken cancellationToken = CancellationToken()
)
member InitializeAsync :
parentModel : ICardModel *
cardTask : CardTask *
taskInfoViewModelFactory : ITaskInfoViewModelFactory *
createModelFuncAsync : CreateCardModelFuncAsync *
createModelWithMetadataFuncAsync : CreateCardModelWithMetadataFuncAsync *
createFormFuncAsync : CreateCardFormFuncAsync *
createFileSourceForCardModelFuncAsync : CreateFileSourceForCardModelFuncAsync *
createFileUIContainerFuncAsync : CreateFileUIContainerFuncAsync *
cardMetadata : ICardMetadata *
dialogManager : ICardDialogManager *
cardUIResolver : ICardUIResolver *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- parentModel ICardModel
-
- cardTask CardTask
-
- taskInfoViewModelFactory ITaskInfoViewModelFactory
-
- createModelFuncAsync CreateCardModelFuncAsync
-
- createModelWithMetadataFuncAsync CreateCardModelWithMetadataFuncAsync
-
- createFormFuncAsync CreateCardFormFuncAsync
-
- createFileSourceForCardModelFuncAsync CreateFileSourceForCardModelFuncAsync
-
- createFileUIContainerFuncAsync CreateFileUIContainerFuncAsync
-
- cardMetadata ICardMetadata
-
- dialogManager ICardDialogManager
-
- cardUIResolver ICardUIResolver
-
- cancellationToken CancellationToken (Optional)
-
Task