Merge pull request 'Added an empty constructor to ProcessEmailNotificationEvent' (#26) from emailjobs into master

Reviewed-on: #26
This commit was merged in pull request #26.
This commit is contained in:
2026-05-15 23:53:09 +02:00
@@ -8,6 +8,8 @@ public class ProcessEmailNotificationsEvent : EventBase, IEvent
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);