Beispiel #1
0
        public override void Patch(NotificationMessageEntity message)
        {
            if (message is EmailNotificationMessageEntity emailNotificationMessageEntity)
            {
                emailNotificationMessageEntity.Subject = Subject;
                emailNotificationMessageEntity.Body    = Body;
            }

            base.Patch(message);
        }
        public override void Patch(NotificationMessageEntity message)
        {
            if (message is SmsNotificationMessageEntity smsNotificationMessageEntity)
            {
                smsNotificationMessageEntity.Number  = Number;
                smsNotificationMessageEntity.Message = Message;
            }

            base.Patch(message);
        }
 public virtual void Patch(NotificationMessageEntity message)
 {
     message.TenantId            = TenantId;
     message.TenantType          = TenantType;
     message.LanguageCode        = LanguageCode;
     message.SendAttemptCount    = SendAttemptCount;
     message.MaxSendAttemptCount = MaxSendAttemptCount;
     message.LastSendError       = LastSendError;
     message.LastSendAttemptDate = LastSendAttemptDate;
     message.SendDate            = SendDate;
 }
Beispiel #4
0
        public override void Patch(NotificationMessageEntity message)
        {
            if (message is EmailNotificationMessageEntity emailNotificationMessageEntity)
            {
                emailNotificationMessageEntity.Subject = Subject;
                emailNotificationMessageEntity.Body    = Body;
                emailNotificationMessageEntity.From    = From;
                emailNotificationMessageEntity.To      = To;
                emailNotificationMessageEntity.CC      = CC;
                emailNotificationMessageEntity.BCC     = BCC;
            }

            base.Patch(message);
        }