Exemplo n.º 1
0
 private void HandleAddedBefore(SubAddedBeforeModel <T> addedBefore)
 {
     AddedBefore?.Invoke(this, addedBefore);
     Subscribers.ForEach(sub => sub.AddedBefore(addedBefore));
 }
Exemplo n.º 2
0
 private void HandleMovedBefore(SubMovedBeforeModel movedBefore)
 {
     MovedBefore?.Invoke(this, movedBefore);
     Subscribers.ForEach(sub => sub.MovedBefore(movedBefore));
 }
Exemplo n.º 3
0
 private void HandleChanged(SubChangedModel <T> changed)
 {
     Changed?.Invoke(this, changed);
     Subscribers.ForEach(sub => sub.Changed(changed));
 }
Exemplo n.º 4
0
 private void HandleRemoved(SubRemovedModel removed)
 {
     Removed?.Invoke(this, removed);
     Subscribers.ForEach(sub => sub.Removed(removed));
 }
Exemplo n.º 5
0
 private void HandleAdded(SubAddedModel <T> added)
 {
     added.Object.Id = added.Id;
     Added?.Invoke(this, added);
     Subscribers.ForEach(sub => sub.Added(added));
 }