Esempio n. 1
0
 private void OnMessagePushed(EventProcessedEventArgs e)
 => EventPushed?.Invoke(this, e);
Esempio n. 2
0
 public async Task PublishAsync <TEvent>(TEvent @event) where TEvent : IEvent => await Task.Run(() => EventPushed?.Invoke(this, new EventProcessedArgs(@event)));