Files
components/LiteCharms.Features/Shop/Notifications/Events/ProcessEmailNotificationsEvent.cs
T
Khwezi Mngoma e978aa17f8
continuous-integration/drone/pr Build is passing
Added an empty constructor to ProcessEmailNotificationEvent
2026-05-15 23:52:38 +02:00

17 lines
553 B
C#

using LiteCharms.Features.Abstractions;
namespace LiteCharms.Features.Shop.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);
}