火范文>英语词典>decorators翻译和用法

decorators

英 [ˈdɛkəreɪtəz]

美 [ˈdɛkəˌreɪtərz]

n.  (房屋的)油漆匠,裱糊匠
decorator的复数

柯林斯词典

  • 粉刷匠;油漆匠;裱糊匠
    Adecoratoris a person whose job is to paint houses or put wallpaper up.
    1. (室内)装饰设计师,装潢设计师
      Adecoratoris a person who is employed to design and decorate the inside of people's houses.
      1. in BRIT, use 英国英语用 interior decorator

      双语例句

      • Decorators do not currently let you modify class instantiation per se, but they can massage the methods that are attached to the class.
        decorator目前并不允许您修改类实例化本身,但是它们可以修改依附于类的方法。
      • Decorators are methods that modify other methods and return either a method or another callable object.
        修饰符是一些方法,这些方法可以修改其他方法并返回一个方法或另外一个可调用对象。
      • Decorators aren't limited to a single decoration.
        装饰器并不局限于单个的装饰物。
      • A common use for decorators is to annotate static methods.
        修饰符的一种常见用法是注释静态方法。
      • As both decorators apply to the same set of workbench resources, the xml-only decorator can borrow the method from the coded decorator as we'll see shortly.
        由于两种decorator都应用于同一组工作台资源,所以纯xml的decorator可以从编码的decorator那里借用方法,如我们接下来马上要介绍的。
      • Also, if you alter your domain model to not use the "default" package you lose the navigation decorators and the ability to generate Controllers and Views inside the IDE.
        同样的,如果你改变你的领域模型不使用“缺省”包,你也会失去导航功能条和在IDE内生成控制器和视图的能力。
      • The result is an almost universal shortage of carpenters, decorators, bricklayers and plumbers in developed countries jobs which increasingly may have to be filled by migrant workers.
        发达国家几乎普遍短缺木匠、油漆工、砖瓦匠和水管工,这些工作愈来愈可能要由移民工人来填补。
      • This reduces flashing on the screen and can be a big performance boost for decorators that change frequently.
        这会减少屏幕的闪烁,对于经常要改变的decorator会极大地提高性能。
      • Probably more typical is using decorators on top-level defined classes, which depend only on conditions available at compile-time ( which are often adequate).
        可能更加典型的情况是在顶级定义类中使用decorator,这些类只依赖于编译时可用的条件(这通常就足够了)。
      • The most typical examples you will see discussed for decorators can probably be described as making a function or method "do something extra" while it does its basic job.
        您将看到,有关decorator的最典型的例子可能是使一个函数或方法来实现“其他功能”,同时完成其基本工作。