CardLibraryManagerImportAsync(IReadOnlyCollectionCardLibraryImportItem, CardLibraryImportGlobalSettings, ICardLibraryImportListener, CancellationToken) - метод
Импорт списка карточек и библиотек.
Пространство имён: Tessa.CardsСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public Task ImportAsync(
IReadOnlyCollection<CardLibraryImportItem> items,
CardLibraryImportGlobalSettings? importGlobalSettings = null,
ICardLibraryImportListener? importListener = null,
CancellationToken cancellationToken = default
)
Public Function ImportAsync (
items As IReadOnlyCollection(Of CardLibraryImportItem),
Optional importGlobalSettings As CardLibraryImportGlobalSettings = Nothing,
Optional importListener As ICardLibraryImportListener = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ ImportAsync(
IReadOnlyCollection<CardLibraryImportItem^>^ items,
CardLibraryImportGlobalSettings^ importGlobalSettings = nullptr,
ICardLibraryImportListener^ importListener = nullptr,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract ImportAsync :
items : IReadOnlyCollection<CardLibraryImportItem> *
?importGlobalSettings : CardLibraryImportGlobalSettings *
?importListener : ICardLibraryImportListener *
?cancellationToken : CancellationToken
(* Defaults:
let _importGlobalSettings = defaultArg importGlobalSettings null
let _importListener = defaultArg importListener null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override ImportAsync :
items : IReadOnlyCollection<CardLibraryImportItem> *
?importGlobalSettings : CardLibraryImportGlobalSettings *
?importListener : ICardLibraryImportListener *
?cancellationToken : CancellationToken
(* Defaults:
let _importGlobalSettings = defaultArg importGlobalSettings null
let _importListener = defaultArg importListener null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- items IReadOnlyCollectionCardLibraryImportItem
- Список данных об элементах, необходимых для импорта библиотек или карточек.
- importGlobalSettings CardLibraryImportGlobalSettings (Optional)
- Глобальные настройки импорта.
- importListener ICardLibraryImportListener (Optional)
- Слушатель событий.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную операцию.
TaskАсинхронная задача.
ICardLibraryManagerImportAsync(IReadOnlyCollectionCardLibraryImportItem, CardLibraryImportGlobalSettings, ICardLibraryImportListener, CancellationToken)