expando

expando

 英

  • 网络自定义;自定义属性;自订

例句

As a rule of thumb, if you find yourself wrapping more than three disparate chunks of code in a category, consider making it an expando.

一般说来如果发现自己一个category包装超过3根本不同代码考虑使用expando

Also note that this class extends Expando, as this will be important later.

同时注意这个继承Expando因为这个后面重要

Our web controller implements a "save" method, and we've mocked up a model Object using powerful Groovy features (Expando and Closures).

我们控制器实现一个save方法使用强大Groovy特性Expando闭包),我们模拟一个模型对象

After investigating, you find that the tree grid would always hold the states of expando functions.

调查之后发现网格总是保留expando函数状态

It used the Expando property feature of GAE to store the URLs of the services.

使用GAEExpando属性特性存储服务URL

You need to clear the expando states when the tree grid performs a sorting query.

网格执行一个排序查询需要清除expando状态

Expandos, on the other hand, are global in nature: Once the expando code has executed, those changes appear for the rest of the application.

另一方面Expandos本质上全局一旦expando代码执行这些改变出现应用程序其余部分

With the MOP, as we have seen with Expando, we can insert those free methods into multiple classes.

使用MOP正如我们使用Expando看到我们可以这些自由方法插入多个