ConditionRepairManagerBaseRepairConditionsCoreAsync - метод
Выполняет починку условий в карточке.
Пространство имён: Tessa.Platform.ConditionsСборка: Tessa (в Tessa.dll) Версия: 3.6.0.23
protected virtual ValueTask<ValidationResult> RepairConditionsCoreAsync(
Card card,
bool notifyFieldsUpdated = false,
ICardRepairExtensionContext parentContext = null,
Func<Guid, bool> filterConditionTypeFunc = null,
CancellationToken cancellationToken = default
)
Protected Overridable Function RepairConditionsCoreAsync (
card As Card,
Optional notifyFieldsUpdated As Boolean = false,
Optional parentContext As ICardRepairExtensionContext = Nothing,
Optional filterConditionTypeFunc As Func(Of Guid, Boolean) = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of ValidationResult)
protected:
virtual ValueTask<ValidationResult^> RepairConditionsCoreAsync(
Card^ card,
bool notifyFieldsUpdated = false,
ICardRepairExtensionContext^ parentContext = nullptr,
Func<Guid, bool>^ filterConditionTypeFunc = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract RepairConditionsCoreAsync :
card : Card *
?notifyFieldsUpdated : bool *
?parentContext : ICardRepairExtensionContext *
?filterConditionTypeFunc : Func<Guid, bool> *
?cancellationToken : CancellationToken
(* Defaults:
let _notifyFieldsUpdated = defaultArg notifyFieldsUpdated false
let _parentContext = defaultArg parentContext null
let _filterConditionTypeFunc = defaultArg filterConditionTypeFunc null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
override RepairConditionsCoreAsync :
card : Card *
?notifyFieldsUpdated : bool *
?parentContext : ICardRepairExtensionContext *
?filterConditionTypeFunc : Func<Guid, bool> *
?cancellationToken : CancellationToken
(* Defaults:
let _notifyFieldsUpdated = defaultArg notifyFieldsUpdated false
let _parentContext = defaultArg parentContext null
let _filterConditionTypeFunc = defaultArg filterConditionTypeFunc null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<ValidationResult>
- card Card
- Карточка, в которой производится починка условий.
- notifyFieldsUpdated Boolean (Optional)
- Определяет, должна ли починка условий отмечать изменения полей в карточке.
- parentContext ICardRepairExtensionContext (Optional)
- Контекст расширений починки карточки. Может быть равен null.
- filterConditionTypeFunc FuncGuid, Boolean (Optional)
- Функция для фильтрации условий для починки или null, если нет фильтрации по типу условия.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskValidationResultРезультат валидации починки условий.