AvatarGeneratedContentResultFromContentResultAsync - метод

Creates an instance of AvatarGeneratedContentResult from a ContentResult.

Definition

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

См. также