private static void Main(string[] args) { Chef chef = new Chef(); CommandCombineAll combineAll = new CommandCombineAll(chef); combineAll.BackChickenWingCommand(); combineAll.BakeLampCommand(); Console.ReadLine(); //考虑调料? }
public CommandCombine(Chef chef) { _chef = chef; }
public CommandCombineAll(Chef chef) : base(chef) { }