Example #1
0
 public void Remove(INotificationEto eventItem)
 {
     lock (collection)
     {
         collection.Remove(eventItem);
     }
 }
Example #2
0
 public void Add(INotificationEto eventItem)
 {
     lock (collection)
     {
         collection.Add(eventItem);
     }
 }
Example #3
0
 public void RemoveDomainEvent(INotificationEto eventItem)
 {
     domainEventStore?.Remove(eventItem);
 }
Example #4
0
 public void AddDomainEvent(INotificationEto eventItem)
 {
     domainEventStore ??= new Collection <INotificationEto>();
     domainEventStore?.Add(eventItem);
 }