示例#1
0
        internal void FoodEdited(FoodEditedMessage message)
        {
            var food = Foods.Single(f => f.Id == message.Id);

            food.Name        = message.Name;
            food.Temperature = message.Temperature;
            food.Time        = message.Time;
            FoodsChanged();
        }