ViewMappingHelperValidateMappingAsync - метод
Проверка валидности маппинга
Пространство имён: Tessa.UI.Cards.ControlsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 4.0.4
public static ValueTask ValidateMappingAsync(
IValidationResultBuilder validationResult,
ITessaView view,
IList viewMapping,
ICardModel cardModel,
ICardModel parentCardModel = null,
CancellationToken cancellationToken = default
)
Public Shared Function ValidateMappingAsync (
validationResult As IValidationResultBuilder,
view As ITessaView,
viewMapping As IList,
cardModel As ICardModel,
Optional parentCardModel As ICardModel = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask
public:
static ValueTask ValidateMappingAsync(
IValidationResultBuilder^ validationResult,
ITessaView^ view,
IList^ viewMapping,
ICardModel^ cardModel,
ICardModel^ parentCardModel = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
static member ValidateMappingAsync :
validationResult : IValidationResultBuilder *
view : ITessaView *
viewMapping : IList *
cardModel : ICardModel *
?parentCardModel : ICardModel *
?cancellationToken : CancellationToken
(* Defaults:
let _parentCardModel = defaultArg parentCardModel null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask
- validationResult IValidationResultBuilder
- IValidationResultBuilder
- view ITessaView
- Представление
- viewMapping IList
- Маппинг
- cardModel ICardModel
- ICardModel
- parentCardModel ICardModel (Optional)
- ICardModel родителя, используется для карточки заданий
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskАсинхронная задача.