Added outgoing email notification processing event

This commit is contained in:
Khwezi Mngoma
2026-05-10 16:07:53 +02:00
parent e8e9a85c57
commit 73ba41beaf
6 changed files with 102 additions and 5 deletions
@@ -0,0 +1,16 @@
using LiteCharms.Abstractions;
namespace LiteCharms.Features.Notifications.Events;
public class ProcessEmailNotificationsEvent : EventBase, IEvent
{
public string Name { get; set; } = nameof(ProcessEmailNotificationsEvent);
public int MaxRecords { get; set; }
public ProcessEmailNotificationsEvent() => MaxRecords = 1000;
private ProcessEmailNotificationsEvent(int maxRecords = 1000) => MaxRecords = maxRecords;
public static ProcessEmailNotificationsEvent Create(int maxRecords = 1000) => new(maxRecords);
}