TokenRepositoryTryGetTokensAsync - метод

Returns a collection of token information based on the filter criteria.

Definition

Пространство имён: Tessa.Tokens
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public virtual Task<IList<ITokenInfo>> TryGetTokensAsync(
	TokenFilter? filter = null,
	CancellationToken cancellationToken = default
)

Параметры

filter  NullableTokenFilter  (Optional)
Represents a filter used to query tokens based on various properties.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

Возвращаемое значение

TaskIListITokenInfo
A collection of token information.

Реализации

ITokenRepositoryTryGetTokensAsync(NullableTokenFilter, CancellationToken)

Заметки

The returned data is not sorted.
If no filter parameter has been set, the amount of returned data is limited to 1000 items. If the query is repeated without a filter parameter, it is not guaranteed that the same items will be returned.

См. также