WorkflowEmailActionValidateAsync - метод
Метод валидации действия.
Пространство имён: Tessa.Workflow.ActionsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public override ValueTask<ValidationResult> ValidateAsync(
WorkflowActionStorage action,
WorkflowNodeStorage node,
WorkflowProcessStorage process,
CancellationToken cancellationToken = default
)
Public Overrides Function ValidateAsync (
action As WorkflowActionStorage,
node As WorkflowNodeStorage,
process As WorkflowProcessStorage,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ValidationResult)
public:
virtual ValueTask<ValidationResult^> ValidateAsync(
WorkflowActionStorage^ action,
WorkflowNodeStorage^ node,
WorkflowProcessStorage^ process,
CancellationToken cancellationToken = CancellationToken()
) override
abstract ValidateAsync :
action : WorkflowActionStorage *
node : WorkflowNodeStorage *
process : WorkflowProcessStorage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
override ValidateAsync :
action : WorkflowActionStorage *
node : WorkflowNodeStorage *
process : WorkflowProcessStorage *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
- action WorkflowActionStorage
- Проверяемый объект действия.
- node WorkflowNodeStorage
- Узел, к которому относится действие.
- process WorkflowProcessStorage
- Процесс, к которому относится действие.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskValidationResultРезультат валидации.
IWorkflowActionValidateAsync(WorkflowActionStorage, WorkflowNodeStorage, WorkflowProcessStorage, CancellationToken)