AvatarGeneratedContentResultFromContentResultAsync - метод

Creates an instance of AvatarGeneratedContentResult from a ContentResult.

Definition

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

См. также