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.
它使用了GAE的Expando屬性特性來存儲服務的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時已看到的,我們可以將這些自由方法插入多個類。