Ejemplo n.º 1
0
 public void HandleCustomEvent(object sender, CustomEventArgs e)
 {
     Console.WriteLine($"{id} this is the subscriber 1 and Message is {e.Message}");
 }
Ejemplo n.º 2
0
 public void HandleCustomEvent(object sender, CustomEventArgs e)
 {
     Console.WriteLine(id + " received this message: {0}", e.Message);
 }