示例#1
0
        static void Main(string[] args)
        {
            // Parole valide: italian o american o chinese
            string   typeMenu = "italian";
            ICuisine menu     = Chef.Cook(typeMenu);

            Console.WriteLine("Ho scelto: " + menu.Model);
            Console.ReadLine();
        }
 public double Calculate(ICuisine cuisine, IIngredient ingredient)
 {
     throw new NotSupportedException();
 }
示例#3
0
 protected AGetFacade(Imenu menu, ICuisine cuisine)
 {
     _menu    = menu;
     _cuisine = cuisine;
 }
示例#4
0
 public GetFacade(Imenu menu, ICuisine cuisine) : base(menu, cuisine)
 {
 }