CardModelSaveAsync - метод
Выполняет сохранение карточки.
Пространство имён: Tessa.UI.CardsСборка: Tessa.UI (в Tessa.UI.dll) Версия: 3.6.0.22
public Task<(bool Success, ValidationResult Result)> SaveAsync(
ICardSavingRequest request = null,
CancellationToken cancellationToken = default
)
Public Function SaveAsync (
Optional request As ICardSavingRequest = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of (Success As Boolean, Result As ValidationResult))
public:
virtual Task<ValueTuple<bool, ValidationResult^>>^ SaveAsync(
ICardSavingRequest^ request = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract SaveAsync :
?request : ICardSavingRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _request = defaultArg request null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<bool, ValidationResult>>
override SaveAsync :
?request : ICardSavingRequest *
?cancellationToken : CancellationToken
(* Defaults:
let _request = defaultArg request null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ValueTuple<bool, ValidationResult>>
- request ICardSavingRequest (Optional)
- Запрос на сохранение карточки.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
TaskValueTupleBoolean,
ValidationResultОбъект, позволяющий отслеживать операцию сохранения и получить её результат.
ICardModelSaveAsync(ICardSavingRequest, CancellationToken)