EmailsNotificationRecipientsSourceGetRecipientsAsync - метод
Возвращает список получателей уведомления.
Пространство имён: Tessa.Notices.SourcesСборка: Tessa (в Tessa.dll) Версия: 4.0.4
public ValueTask<IReadOnlyList<NotificationRecipient>> GetRecipientsAsync(
INotificationRecipientsSourceParameter recipientSourceParameter,
NotificationEmail email,
INotificationSendContext sendContext,
CancellationToken cancellationToken = default
)
Public Function GetRecipientsAsync (
recipientSourceParameter As INotificationRecipientsSourceParameter,
email As NotificationEmail,
sendContext As INotificationSendContext,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IReadOnlyList(Of NotificationRecipient))
public:
virtual ValueTask<IReadOnlyList<NotificationRecipient^>^> GetRecipientsAsync(
INotificationRecipientsSourceParameter^ recipientSourceParameter,
NotificationEmail^ email,
INotificationSendContext^ sendContext,
CancellationToken cancellationToken = CancellationToken()
) sealed
abstract GetRecipientsAsync :
recipientSourceParameter : INotificationRecipientsSourceParameter *
email : NotificationEmail *
sendContext : INotificationSendContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IReadOnlyList<NotificationRecipient>>
override GetRecipientsAsync :
recipientSourceParameter : INotificationRecipientsSourceParameter *
email : NotificationEmail *
sendContext : INotificationSendContext *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IReadOnlyList<NotificationRecipient>>
- recipientSourceParameter INotificationRecipientsSourceParameter
- Параметр с данными для получения списка получателей уведомления.
- email NotificationEmail
- Отправляемое уведомление.
- sendContext INotificationSendContext
- Контекст отправки уведомления.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
ValueTaskIReadOnlyListNotificationRecipientСписок получателей уведомления.
INotificationRecipientsSourceGetRecipientsAsync(INotificationRecipientsSourceParameter, NotificationEmail, INotificationSendContext, CancellationToken)