AvatarGeneratedContentCacheStoreAsync - метод
Stores the avatar content for the entity identified by id and kind in the cache.
Пространство имён: Tessa.Content.AvatarsСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public virtual Task StoreAsync(
Guid id,
AvatarContentKind kind,
AvatarGeneratedContentResult contentResult,
CancellationToken cancellationToken = default
)
Public Overridable Function StoreAsync (
id As Guid,
kind As AvatarContentKind,
contentResult As AvatarGeneratedContentResult,
Optional cancellationToken As CancellationToken = Nothing
) As Task
public:
virtual Task^ StoreAsync(
Guid id,
AvatarContentKind kind,
AvatarGeneratedContentResult^ contentResult,
CancellationToken cancellationToken = CancellationToken()
)
abstract StoreAsync :
id : Guid *
kind : AvatarContentKind *
contentResult : AvatarGeneratedContentResult *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
override StoreAsync :
id : Guid *
kind : AvatarContentKind *
contentResult : AvatarGeneratedContentResult *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task
- 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.
TaskRepresents an asynchronous operation.
IAvatarGeneratedContentCacheStoreAsync(Guid, AvatarContentKind, AvatarGeneratedContentResult, CancellationToken)