TaskViewModelInitializeAsync - метод |
Пространство имён:
Tessa.UI.Cards.Tasks
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис 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
- Тип: Tessa.UI.CardsICardModel
- cardTask
- Тип: Tessa.CardsCardTask
- createModelFuncAsync
- Тип: Tessa.UI.CardsCreateCardModelFuncAsync
- createModelWithMetadataFuncAsync
- Тип: Tessa.UI.CardsCreateCardModelWithMetadataFuncAsync
- createFormFuncAsync
- Тип: Tessa.UI.CardsCreateCardFormFuncAsync
- createFileSourceForCardModelFuncAsync
- Тип: Tessa.UI.CardsCreateFileSourceForCardModelFuncAsync
- createFileUIContainerFuncAsync
- Тип: Tessa.UI.FilesCreateFileUIContainerFuncAsync
- cardMetadata
- Тип: Tessa.CardsICardMetadata
- dialogManager
- Тип: Tessa.UI.CardsICardDialogManager
- session
- Тип: Tessa.Platform.RuntimeISession
- uiHost
- Тип: Tessa.UIIUIHost
- cardUIResolver
- Тип: Tessa.UI.CardsICardUIResolver
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
TaskСм. также