AvatarGeneratedContentRepositoryExistsContentAsync - метод
Determines whether the avatar content exists for the entity identified by id and kind.
Пространство имён: Tessa.Content.AvatarsСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public virtual Task<bool> ExistsContentAsync(
Guid id,
AvatarContentKind kind,
CancellationToken cancellationToken = default
)
Public Overridable Function ExistsContentAsync (
id As Guid,
kind As AvatarContentKind,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of Boolean)
public:
virtual Task<bool>^ ExistsContentAsync(
Guid id,
AvatarContentKind kind,
CancellationToken cancellationToken = CancellationToken()
)
abstract ExistsContentAsync :
id : Guid *
kind : AvatarContentKind *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
override ExistsContentAsync :
id : Guid *
kind : AvatarContentKind *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<bool>
- id Guid
- The identifier of the entity for which to check the existence of avatar content.
- kind AvatarContentKind
Kind of avatar content.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskBoolean if the content exists; otherwise,
.
IAvatarGeneratedContentRepositoryExistsContentAsync(Guid, AvatarContentKind, CancellationToken)