Exemple #1
0
 public void PushMessage(CustomEventArgs <T> message)
 {
     RaiseCustomEvent += Raise;
 }
 // Define what actions to take when the event is raised.
 void HandleCustomEvent(object sender, CustomEventArgs <T> e)
 {
     _logger.Info(_id + " received this message: {0}", e.Message);
 }