IControlValidationObjectValidateAsync - метод
Метод валидации настроек контрола. Вызывается при инициализации модели представления карточки.
Пространство имён: Tessa.UI.Cards.ControlsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
ValueTask ValidateAsync(
IValidationResultBuilder validationResult,
ICardModel mainCardModel = null,
CancellationToken cancellationToken = default
)
Function ValidateAsync (
validationResult As IValidationResultBuilder,
Optional mainCardModel As ICardModel = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
ValueTask ValidateAsync(
IValidationResultBuilder^ validationResult,
ICardModel^ mainCardModel = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract ValidateAsync :
validationResult : IValidationResultBuilder *
?mainCardModel : ICardModel *
?cancellationToken : CancellationToken
(* Defaults:
let _mainCardModel = defaultArg mainCardModel null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- validationResult IValidationResultBuilder
-
- mainCardModel ICardModel (Optional)
-
- cancellationToken CancellationToken (Optional)
-
ValueTask