Files
components/LiteCharms.Features/Notifications/Events/ProcessEmailNotificationsEvent.cs
T
Khwezi Mngoma cecd9f90e9
continuous-integration/drone/pr Build is passing
Implemented service bus handling of emails and notification processing
2026-05-10 16:50:36 +02:00

15 lines
471 B
C#

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; }
private ProcessEmailNotificationsEvent(int maxRecords = 1000) => MaxRecords = maxRecords;
public static ProcessEmailNotificationsEvent Create(int maxRecords = 1000) => new(maxRecords);
}