UserNotificationInfoWithNotificationInfo.cs 923 B

123456789101112131415161718192021222324252627
  1. namespace Abp.Notifications
  2. {
  3. /// <summary>
  4. /// A class contains a <see cref="UserNotificationInfo"/> and related <see cref="NotificationInfo"/>.
  5. /// </summary>
  6. public class UserNotificationInfoWithNotificationInfo
  7. {
  8. /// <summary>
  9. /// User notification.
  10. /// </summary>
  11. public UserNotificationInfo UserNotification { get; set; }
  12. /// <summary>
  13. /// Notification.
  14. /// </summary>
  15. public TenantNotificationInfo Notification { get; set; }
  16. /// <summary>
  17. /// Initializes a new instance of the <see cref="UserNotificationInfoWithNotificationInfo"/> class.
  18. /// </summary>
  19. public UserNotificationInfoWithNotificationInfo(UserNotificationInfo userNotification, TenantNotificationInfo notification)
  20. {
  21. UserNotification = userNotification;
  22. Notification = notification;
  23. }
  24. }
  25. }