예제 #1
0
 public Farmer(Mediator mediator)
     : base(mediator)
 {
 }
예제 #2
0
 public void GrowTomato()
 {
     Console.WriteLine($"{GetType().Name} raised tomato");
     Mediator.Send("tomato", this);
 }