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