IAvatarGeneratedContentCacheStoreAsync - метод

Stores the avatar content for the entity identified by id and kind in the cache.

Definition

Пространство имён: Tessa.Content.Avatars
Сборка: Tessa (в Tessa.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
C#
Task StoreAsync(
	Guid id,
	AvatarContentKind kind,
	AvatarGeneratedContentResult contentResult,
	CancellationToken cancellationToken = default
)

Параметры

id  Guid
The identifier of the entity for that avatar content should be stored in the cache.
kind  AvatarContentKind
Kind of avatar content.
contentResult  AvatarGeneratedContentResult
Represents the content of a generated avatar.
cancellationToken  CancellationToken  (Optional)
Propagates notification that operations should be canceled.

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

Task
Represents an asynchronous operation.

См. также