MEF程序设计指南八:部件生命周期(Parts Lifetime)托管 摘要: MEF中的每一个可进行动态装配的导出部件都是具有生命周期的,在没有特别需求的情况下一般都没有对生命周期进行管理...
基于86个网页-相关网页
postscript产生了Dojo小部件生命周期方法,但对标准dojo类没有什么用处。
Postscript drives the Dojo widget life cycle methods, but provides no benefit to a standard Dojo class.
如果,在小部件生命周期内一些连接已经不再需要,那么实现者就可以通过调用disconnect方法来手动断开这些连接以减少事件的处理。
If, during the widget lifecycle, some connections are not needed any longer, the implementer can manually disconnect them by calling the disconnect method to reduce the event handling.
实现者负责管理小部件的整个生命周期,包括小部件的销毁。
Implementers are in charge of managing the whole widget lifecycle, including the widget destruction.
应用推荐