public void Eat(IFood food) { var eatPhrase = food.CanBeEatenBy(this) ? "eats" : "doesn't eat"; traceable.Trace($"{this.Name} {eatPhrase} {food.Name}"); }
public void Eat(IFood food) { var eatPhrase = food.CanBeEatenBy(this) ? "eats" : "doesn't eat"; traceable.Trace($"{this.Name} {eatPhrase} {food.Name}"); }