菜单命令 } 利用命令模式提供一个服务 } 命令模式的钩子 } Console.ReadKey(); The Command Pattern encapsulates a request as an object, thereby letting you parameterize other objects with different requests, queue or log requests, and suppoert undoable operations. 相关文章: