单项选择题

A.状态(State)模式
B.装饰(Decorator)模式
C.适配器(Adapter)模式
D.命令(Command)模式