Example #1
0
 private static void Show_FromCar_Clear(object sender, MyQueueEventArgs <Car> e)
 {
     Console.WriteLine($"Event:{e.Message}");
 }
Example #2
0
 private static void Show_Message(object sender, MyQueueEventArgs <int> e)
 {
     Console.WriteLine($"Event:{e.Message}, Item: {e.Item.ToString()}");
 }
Example #3
0
 private static void Show_FromCar(object sender, MyQueueEventArgs <Car> e)
 {
     Console.WriteLine($"Event:{e.Message}, Name: {e.Item.Name}, Price: {e.Item.Price}");
 }