NotificationSendExtensionContext - конструктор
Контекст расширений отправки уведомлений.
Пространство имён: Tessa.Notices.ExtensionsСборка: Tessa (в Tessa.dll) Версия: 4.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
public NotificationSendExtensionContext(
NotificationEmail notificationEmail,
ISession session,
IDbScope dbScope,
Func<IValidationResultBuilder, CancellationToken, ValueTask<Card>>? getCardFuncAsync,
Guid mainCardID,
Guid? cardTypeID,
Guid? taskTypeID,
IList<NotificationRecipient> recipients,
NotificationRecipient? currentRecipient,
Dictionary<string, Object?>? info,
IValidationResultBuilder validationResult
)
Public Sub New (
notificationEmail As NotificationEmail,
session As ISession,
dbScope As IDbScope,
getCardFuncAsync As Func(Of IValidationResultBuilder, CancellationToken, ValueTask(Of Card)),
mainCardID As Guid,
cardTypeID As Guid?,
taskTypeID As Guid?,
recipients As IList(Of NotificationRecipient),
currentRecipient As NotificationRecipient,
info As Dictionary(Of String, Object),
validationResult As IValidationResultBuilder
)
public:
NotificationSendExtensionContext(
NotificationEmail^ notificationEmail,
ISession^ session,
IDbScope^ dbScope,
Func<IValidationResultBuilder^, CancellationToken, ValueTask<Card^>>^ getCardFuncAsync,
Guid mainCardID,
Nullable<Guid> cardTypeID,
Nullable<Guid> taskTypeID,
IList<NotificationRecipient^>^ recipients,
NotificationRecipient^ currentRecipient,
Dictionary<String^, Object^>^ info,
IValidationResultBuilder^ validationResult
)
new :
notificationEmail : NotificationEmail *
session : ISession *
dbScope : IDbScope *
getCardFuncAsync : Func<IValidationResultBuilder, CancellationToken, ValueTask<Card>> *
mainCardID : Guid *
cardTypeID : Nullable<Guid> *
taskTypeID : Nullable<Guid> *
recipients : IList<NotificationRecipient> *
currentRecipient : NotificationRecipient *
info : Dictionary<string, Object> *
validationResult : IValidationResultBuilder -> NotificationSendExtensionContext
Параметры
- notificationEmail NotificationEmail
Уведомление.
- session ISession
Сессия пользователя.
- dbScope IDbScope
Объект для взаимодействия с БД.
- getCardFuncAsync FuncIValidationResultBuilder, CancellationToken, ValueTaskCard
Функция для получения основной карточки.
- mainCardID Guid
Идентификатор главной карточки.
- cardTypeID NullableGuid
Идентификатор типа карточки.
- taskTypeID NullableGuid
Идентификатор типа задания.
- recipients IListNotificationRecipient
Список получателей уведомления.
- currentRecipient NotificationRecipient
Текущий получатель уведомления.
- info DictionaryString, Object
Хранилище дополнительной информации.
- validationResult IValidationResultBuilder
Объект, выполняющий построение результата валидации.