AutoCompleteDataSourceGeneratePopupItemsAsync - метод |
Возвращает спосок popupItem`ов.
Пространство имён:
Tessa.UI.Controls.AutoCompleteCtrl
Сборка:
Tessa.UI (в Tessa.UI.dll) Версия: 3.5.0.19
Синтаксис protected Task<List<IAutoCompletePopupItem>> GeneratePopupItemsAsync(
string filter,
List<IAutoCompletePopupItem> popupItems,
IAutoCompleteDataSourceContext dataSourceContext,
CancellationToken cancellationToken = default
)
Protected Function GeneratePopupItemsAsync (
filter As String,
popupItems As List(Of IAutoCompletePopupItem),
dataSourceContext As IAutoCompleteDataSourceContext,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of List(Of IAutoCompletePopupItem))
protected:
Task<List<IAutoCompletePopupItem^>^>^ GeneratePopupItemsAsync(
String^ filter,
List<IAutoCompletePopupItem^>^ popupItems,
IAutoCompleteDataSourceContext^ dataSourceContext,
CancellationToken cancellationToken = CancellationToken()
)
member GeneratePopupItemsAsync :
filter : string *
popupItems : List<IAutoCompletePopupItem> *
dataSourceContext : IAutoCompleteDataSourceContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<List<IAutoCompletePopupItem>>
Параметры
- filter
- Тип: SystemString
Фильтр - popupItems
- Тип: System.Collections.GenericListIAutoCompletePopupItem
Cпосок popupItem`ов. - dataSourceContext
- Тип: Tessa.UI.Cards.Controls.AutoCompleteIAutoCompleteDataSourceContext
IAutoCompleteDataSourceContext - cancellationToken (Optional)
- Тип: System.ThreadingCancellationToken
Объект, посредством которого можно отменить асинхронную задачу.
Возвращаемое значение
Тип:
TaskListIAutoCompletePopupItemСм. также