IContentProviderResolverTryResolveAsync - метод

Returns a content provider for the specified type, or if no provider is found.

Definition

Пространство имён: Tessa.Content
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
ValueTask<IContentProvider> TryResolveAsync(
	string type,
	CancellationToken cancellationToken = default
)

Параметры

type  String
The type of content for which provider is requested.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

ValueTaskIContentProvider
IContentProvider for the specified type, or if no provider is found.

См. также