ITokenRepositoryTryGetTokensAsync - метод
Returns a collection of token information based on the filter criteria.
Пространство имён: Tessa.TokensСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
Task<IList<ITokenInfo>> TryGetTokensAsync(
TokenFilter? filter = null,
CancellationToken cancellationToken = default
)
Function TryGetTokensAsync (
Optional filter As TokenFilter? = Nothing,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of IList(Of ITokenInfo))
Task<IList<ITokenInfo^>^>^ TryGetTokensAsync(
Nullable<TokenFilter> filter = nullptr,
CancellationToken cancellationToken = CancellationToken()
)
abstract TryGetTokensAsync :
?filter : Nullable<TokenFilter> *
?cancellationToken : CancellationToken
(* Defaults:
let _filter = defaultArg filter null
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<IList<ITokenInfo>>
- filter NullableTokenFilter (Optional)
Represents a filter used to query tokens based on various properties.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskIListITokenInfoA collection of token information.
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.