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