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