IUserInfoHandlerResolverTryResolveAsync - метод
Resolves handler by specified type. Returns if the resolve has failed.
Пространство имён: Tessa.Roles.UserInfoСборка: Tessa (в Tessa.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
ValueTask<IUserInfoHandler> TryResolveAsync(
string? type,
CancellationToken cancellationToken = default
)
Function TryResolveAsync (
type As String,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IUserInfoHandler)
ValueTask<IUserInfoHandler^> TryResolveAsync(
String^ type,
CancellationToken cancellationToken = CancellationToken()
)
abstract TryResolveAsync :
type : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IUserInfoHandler>
- type String
- Handler type or /empty string if a default handler is resolved.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskIUserInfoHandlerResolved handler or
if the resolve has failed.