NotificationDistributionJobArgs.cs 632 B

123456789101112131415161718192021222324
  1. using System;
  2. namespace Abp.Notifications
  3. {
  4. /// <summary>
  5. /// Arguments for <see cref="NotificationDistributionJob"/>.
  6. /// </summary>
  7. [Serializable]
  8. public class NotificationDistributionJobArgs
  9. {
  10. /// <summary>
  11. /// Notification Id.
  12. /// </summary>
  13. public Guid NotificationId { get; set; }
  14. /// <summary>
  15. /// Initializes a new instance of the <see cref="NotificationDistributionJobArgs"/> class.
  16. /// </summary>
  17. public NotificationDistributionJobArgs(Guid notificationId)
  18. {
  19. NotificationId = notificationId;
  20. }
  21. }
  22. }