IUserInfoHandlerResolverTryResolveAsync - метод

Resolves handler by specified type. Returns if the resolve has failed.

Definition

Пространство имён: Tessa.Roles.UserInfo
Сборка: Tessa (в Tessa.dll) Версия: 4.2.3+85077ef6104b2e81389e52f8b825d77905da3c54
C#
ValueTask<IUserInfoHandler> TryResolveAsync(
	string? type,
	CancellationToken cancellationToken = default
)

Параметры

type  String
Handler type or /empty string if a default handler is resolved.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTaskIUserInfoHandler
Resolved handler or if the resolve has failed.

См. также