Esempio n. 1
0
 public void GoodsProcessing(object sender, GoodsInfoEventArgs goodInfo)
 {
     Console.WriteLine($"Hi {Name} from second handler!");
 }
Esempio n. 2
0
 public void GotNewGoods(object sender, GoodsInfoEventArgs goodInfo)
 {
     Console.WriteLine($"The product was recived: {goodInfo.Name}, price = {goodInfo.Price} by {Name}");
 }