IAvatarDefaultContentProviderGetContentAsync - метод
Returns the default avatar image for the entity identified by id and kind.
Пространство имён: Tessa.Content.AvatarsСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
Task<ContentResult> GetContentAsync(
Guid id,
AvatarContentKind kind,
CancellationToken cancellationToken = default
)
Function GetContentAsync (
id As Guid,
kind As AvatarContentKind,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ContentResult)
Task<ContentResult^>^ GetContentAsync(
Guid id,
AvatarContentKind kind,
CancellationToken cancellationToken = CancellationToken()
)
abstract GetContentAsync :
id : Guid *
kind : AvatarContentKind *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ContentResult>
- id Guid
- The identifier of the entity for that the default avatar image content is to be provided.
- kind AvatarContentKind
Kind of avatar content.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskContentResultThe default avatar image content for the entity identified by
id and
kind.