예제 #1
0
        public void Eat(IFood food)
        {
            var eatPhrase = food.CanBeEatenBy(this) ? "eats" : "doesn't eat";

            traceable.Trace($"{this.Name} {eatPhrase} {food.Name}");
        }