Пример #1
0
 public void HandleCustomEvent(object sender, CustomEventArgs e)
 {
     Console.WriteLine($"{id} this is the subscriber 1 and Message is {e.Message}");
 }
Пример #2
0
 public void HandleCustomEvent(object sender, CustomEventArgs e)
 {
     Console.WriteLine(id + " received this message: {0}", e.Message);
 }