AvatarGeneratedContentResultFromContentResultAsync - метод

Creates an instance of AvatarGeneratedContentResult from a ContentResult.

Definition

Пространство имён: Tessa.Content.Avatars
Сборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
C#
public static Task<AvatarGeneratedContentResult> FromContentResultAsync(
	ContentResult contentResult,
	CancellationToken cancellationToken = default
)

Параметры

contentResult  ContentResult
Represents the result of a content request.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

TaskAvatarGeneratedContentResult
Represents the content of a generated avatar.

См. также