ViewRequestValidatorValidateAsync - метод
Валидирует запрос к представлению на основе метаинформации, переданной в самом запросе.
Пространство имён: Tessa.ViewsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public virtual ValueTask ValidateAsync(
ITessaViewRequest viewRequest,
CancellationToken cancellationToken = default
)
Public Overridable Function ValidateAsync (
viewRequest As ITessaViewRequest,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
virtual ValueTask ValidateAsync(
ITessaViewRequest^ viewRequest,
CancellationToken cancellationToken = CancellationToken()
)
abstract ValidateAsync :
viewRequest : ITessaViewRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
override ValidateAsync :
viewRequest : ITessaViewRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- viewRequest ITessaViewRequest
- Валидируемый запрос к представлению.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskProvides an awaitable result of an asynchronous operation.
IViewRequestValidatorValidateAsync(ITessaViewRequest, CancellationToken)