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