ConditionRepairManagerBaseRepairConditionsAsync - метод
Выполняет починку условий в карточке.
Пространство имён: Tessa.Platform.ConditionsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask<ValidationResult> RepairConditionsAsync(
Card card,
ICardRepairOptions? options = null,
ICardRepairExtensionContext? parentContext = null,
CancellationToken cancellationToken = default
)
Public Function RepairConditionsAsync (
card As Card,
Optional options As ICardRepairOptions = Nothing,
Optional parentContext As ICardRepairExtensionContext = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ValidationResult)
public:
virtual ValueTask<ValidationResult^> RepairConditionsAsync(
Card^ card,
ICardRepairOptions^ options = nullptr,
ICardRepairExtensionContext^ parentContext = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract RepairConditionsAsync :
card : Card *
?options : ICardRepairOptions *
?parentContext : ICardRepairExtensionContext *
?cancellationToken : CancellationToken
(* Defaults:
let _options = defaultArg options null
let _parentContext = defaultArg parentContext null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
override RepairConditionsAsync :
card : Card *
?options : ICardRepairOptions *
?parentContext : ICardRepairExtensionContext *
?cancellationToken : CancellationToken
(* Defaults:
let _options = defaultArg options null
let _parentContext = defaultArg parentContext null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
- card Card
- Карточка, в которой производится починка условий.
- options ICardRepairOptions (Optional)
- Настройки исправления структуры карточки.
- parentContext ICardRepairExtensionContext (Optional)
- Контекст расширений починки карточки. Может быть равен null.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskValidationResultРезультат валидации починки условий.
IConditionRepairManagerRepairConditionsAsync(Card, ICardRepairOptions, ICardRepairExtensionContext, CancellationToken)