Example #1
0
        public static Food Cook(MysteryMeat ingredient)
        {
            var result = new FrozenCarpaccio();

            result.quantity = ingredient.Quantity();
            return(result);
        }
Example #2
0
        public static Food Cook(MysteryMeat ingredient)
        {
            var result = new ChargrilledMeat();

            result.quantity = ingredient.Quantity();
            return(result);
        }