WorkflowDialogActionGetOrCreateDialogCardAsync - метод |
Пространство имён:
Tessa.Workflow.Actions
Сборка:
Tessa (в Tessa.dll) Версия: 3.5.0.19
Синтаксис public static ValueTask<Card> GetOrCreateDialogCardAsync(
IWorkflowEngineCardsScope cardsScope,
ICardServerPermissionsProvider serverPermissionsProvider,
ICardRepository cardRepository,
IWorkflowEngineContext context,
CardTaskCompletionOptionSettings completionOptionSettings,
CancellationToken cancellationToken = default
)
Public Shared Function GetOrCreateDialogCardAsync (
cardsScope As IWorkflowEngineCardsScope,
serverPermissionsProvider As ICardServerPermissionsProvider,
cardRepository As ICardRepository,
context As IWorkflowEngineContext,
completionOptionSettings As CardTaskCompletionOptionSettings,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of Card)
public:
static ValueTask<Card^> GetOrCreateDialogCardAsync(
IWorkflowEngineCardsScope^ cardsScope,
ICardServerPermissionsProvider^ serverPermissionsProvider,
ICardRepository^ cardRepository,
IWorkflowEngineContext^ context,
CardTaskCompletionOptionSettings^ completionOptionSettings,
CancellationToken cancellationToken = CancellationToken()
)
static member GetOrCreateDialogCardAsync :
cardsScope : IWorkflowEngineCardsScope *
serverPermissionsProvider : ICardServerPermissionsProvider *
cardRepository : ICardRepository *
context : IWorkflowEngineContext *
completionOptionSettings : CardTaskCompletionOptionSettings *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<Card>
Параметры
- cardsScope
- Тип: Tessa.WorkflowIWorkflowEngineCardsScope
- serverPermissionsProvider
- Тип: Tessa.CardsICardServerPermissionsProvider
- cardRepository
- Тип: Tessa.CardsICardRepository
- context
- Тип: Tessa.WorkflowIWorkflowEngineContext
- completionOptionSettings
- Тип: Tessa.CardsCardTaskCompletionOptionSettings
- cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Возвращаемое значение
Тип:
ValueTaskCardСм. также