1·He works as a painter and decorator.
他的职业是油漆匠和装潢师傅。
—— 《牛津词典》
2·Kennedy had no formal training as a decorator.
肯尼迪没有接受过油漆工的正式培训。
—— 《柯林斯英汉双解大词典》
3·The decorator is parameterized.
decorator 都是参数化的。
4·Listing 14. Smarter use of decorator.
清单14 . decorator更聪明的用法。
5·Listing 7. The classinitializer decorator.
清单7 . classinitializer装饰器。
6·You define a decorator just like any other method.
定义修饰符与定义其他方法无异。
7·There are two main benefits to the decorator module.
decorator 模块有两大主要优势。
8·This is a classic GoF decorator pattern design pattern.
这是典型的GoF装饰模式设计模式。
9·Figure 4 shows a class diagram for the decorator pattern.
图4显示了装饰器模式的类图。
10·InfoQ: What distinguishes a decorator from an interceptor?
InfoQ:装饰器和拦截器的区别是什么?
1·Figure 4 shows a class diagram for the decorator pattern.
图4显示了装饰器模式的类图。
2·Enter the decorator pattern, which allows you to add this functionality onto the AutomobileModel in a nice, clean class.
进入装饰器模式,该模式允许您通过一个优秀整洁的类将此功能添加到AutomobileModel。
3·InfoQ: What distinguishes a decorator from an interceptor?
InfoQ:装饰器和拦截器的区别是什么?
4·Listing 7. The classinitializer decorator.
清单7 . classinitializer装饰器。
5·A decorator is a function that adds metadata to a class, its members (properties, methods) and function arguments.
装饰器是一个函数,它将元数据添加到类、类成员(属性、方法)和函数参数。
1·While you may follow a decorator's Suggestions or choose an entire bedroom look you've admired in a magazine, make sure that the master bedroom evokes calm.
虽然你可能会听从一个室内装潢师的建议,或是选择杂志上某套你欣赏的完整设计,但是,你要确保你的主卧室可以使你的思绪回归平静。
1·He is not only a photographer, but also a decorator.
他不仅是一个摄影家,也是一装饰者。
2·Decorator: I'll do my best, thank you.
装饰者:我会尽力的,谢谢你。
3·The Decorator Pattern attaches additional responsibilities to an object dynamically.
装饰者模式可以动态地给一个对象增加其他职责。