public override Dictionary <string, string> GetDrinkInfo()
        {
            var drinkInfo = new Dictionary <string, string>
            {
                { "Name", Name },
                { "Cost", Cost.ToString() },
                { "Sugar content", SugarContent.ToString() },
                { "Water source", WaterSource },
                { "Mineralization", Mineralization.ToString() },
                { "Bottle volume", Bottle.Volume.ToString() },
                { "Bottle color", Bottle.Color }
            };

            return(drinkInfo);
        }
Exemple #2
0
        public override Dictionary <string, string> GetDrinkInfo()
        {
            var drinkInfo = new Dictionary <string, string>
            {
                { "Name", Name },
                { "Cost", Cost.ToString() },
                { "Sugar content", SugarContent.ToString() },
                { "Fruit", Fruit },
                { "Juice content", JuiceContent.ToString() },
                { "Pulp content", PulpContent.ToString() },
                { "Bottle volume", Bottle.Volume.ToString() },
                { "Bottle color", Bottle.Color }
            };

            return(drinkInfo);
        }