IContentProviderResolverTryResolveAsync - метод
Returns a content provider for the specified type, or if no provider is found.
Пространство имён: Tessa.ContentСборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
ValueTask<IContentProvider> TryResolveAsync(
string type,
CancellationToken cancellationToken = default
)
Function TryResolveAsync (
type As String,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IContentProvider)
ValueTask<IContentProvider^> TryResolveAsync(
String^ type,
CancellationToken cancellationToken = CancellationToken()
)
abstract TryResolveAsync :
type : string *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IContentProvider>
- type String
- The type of content for which provider is requested.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
ValueTaskIContentProviderIContentProvider for the specified
type, or
if no provider is found.