WorkflowActionUIHandlerBaseAttachToCardAsync - метод
Привязывает параметры действия к объекту карточки редактора действия.
Пространство имён: Tessa.UI.WorkflowViewer.ActionsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public Task AttachToCardAsync(
WorkflowStorageBase action,
WorkflowStorageBase node,
WorkflowStorageBase process,
IWorkflowHashBinder hashBinder,
Card card,
ICardMetadata cardMetadata,
WorkflowActionStorage actionTemplate = null,
CancellationToken cancellationToken = default
)
Public Function AttachToCardAsync (
action As WorkflowStorageBase,
node As WorkflowStorageBase,
process As WorkflowStorageBase,
hashBinder As IWorkflowHashBinder,
card As Card,
cardMetadata As ICardMetadata,
Optional actionTemplate As WorkflowActionStorage = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ AttachToCardAsync(
WorkflowStorageBase^ action,
WorkflowStorageBase^ node,
WorkflowStorageBase^ process,
IWorkflowHashBinder^ hashBinder,
Card^ card,
ICardMetadata^ cardMetadata,
WorkflowActionStorage^ actionTemplate = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract AttachToCardAsync :
action : WorkflowStorageBase *
node : WorkflowStorageBase *
process : WorkflowStorageBase *
hashBinder : IWorkflowHashBinder *
card : Card *
cardMetadata : ICardMetadata *
?actionTemplate : WorkflowActionStorage *
?cancellationToken : CancellationToken
(* Defaults:
let _actionTemplate = defaultArg actionTemplate null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override AttachToCardAsync :
action : WorkflowStorageBase *
node : WorkflowStorageBase *
process : WorkflowStorageBase *
hashBinder : IWorkflowHashBinder *
card : Card *
cardMetadata : ICardMetadata *
?actionTemplate : WorkflowActionStorage *
?cancellationToken : CancellationToken
(* Defaults:
let _actionTemplate = defaultArg actionTemplate null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- action WorkflowStorageBase
- Редактируемое действие.
- node WorkflowStorageBase
- Узел, которому принадлежит редактируемое действие.
- process WorkflowStorageBase
- Редактируемый процесс.
- hashBinder IWorkflowHashBinder
- Объект для привязки хеша к секциям и полям карточки.
- card Card
- Карточка.
- cardMetadata ICardMetadata
- Метаданные карточки.
- actionTemplate WorkflowActionStorage (Optional)
- Шаблон действия, к которому относится редактируемый экземпляр. Данный параметр передается только, если происходит редактирование экземпляра действия.
- cancellationToken CancellationToken (Optional)
- Объект, с помощью которого можно отменить асинхронную задачу.
TaskАсинхронная задача.
IWorkflowActionUIHandlerAttachToCardAsync(WorkflowStorageBase, WorkflowStorageBase, WorkflowStorageBase, IWorkflowHashBinder, Card, ICardMetadata, WorkflowActionStorage, CancellationToken)