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