AvatarGeneratedContentResultFromContentResultAsync - метод

Creates an instance of AvatarGeneratedContentResult from a ContentResult.

Definition

Пространство имён: Tessa.Content.Avatars
Сборка: Tessa (в Tessa.dll) Версия: 4.1.5+a9a57e1eda0b57f197e0c68d2aa7d7dc95b6c424
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.

См. также