Who Should Implement the Weak Event Pattern?
谁应实现弱事件模式?
The weak event pattern is designed to solve this memory leak problem.
弱式事件模式就是设计来解决这个记忆体遗漏问题。
Implementing the weak event pattern is interesting primarily for control authors.
会对实作弱式事件模式有兴趣的人主要是控制项作者。
Certain scenarios inherently lend themselves to the application of the weak event pattern.
某些方案本质上适合应用弱事件模式。
The reference is a weak reference, thus the naming of the weak event pattern and the related APIs.
该参考是弱式参考,因而命名为弱式事件模式和相关的API。
Many aspects of WPF data binding already have the weak event pattern applied in how the events are implemented.
WPF数据绑定的许多方面在实现事件的方式上已应用了弱事件模式。
To implement the weak event pattern, you typically create a manager class with a 1:1 relationship to the event.
若要实现弱事件模式,通常需要按照与该事件1:1的关系创建一个管理器类。
The weak event pattern can also be used whenever the object lifetime of the source exceeds the useful object lifetime of the listener.
当源的对象生存期超出侦听器的有用对象生存期时,也可以使用弱事件模式。
One interesting aspect of the weak event pattern is that you can implement the pattern against an event that is not part of your code base.
弱式事件模式有趣的一点是,您可以对程序码基底外的事件实作模式。
The report of the unexpected event is weak both in theory and in practice.
突发事件报道无论在理论上还是实践上都较为薄弱。
At the same time, this paper also apply the Accounting-study Methodology to avoid that weak efficiency and manipulating stock prices in China's capital market distort the theory of Event-study.
同时,本文还将使用会计研究法,以防止我国证券市场有效性不高以及股价操纵行为扭曲事件研究法的结论。
The gravity bridge pier built on weak ground base may be lifted off the base during strong earthquake event.
软弱地基上的重力式桥墩,在强烈地震作用下,有可能会发生桥墩基础提离现象。
Since this event is static, it will only hold onto the handler as a weak reference.
由于此事件为静态的,因此它仅将该处理程序保持为一个弱引用。
The major event of the previous day was the SNB rate meeting; unsurprisingly the target rate was kept at 0.25%, but policy-makers also renewed their commitment to maintaining a weak currency.
前天的重大事件就是瑞士央行的利率会议,不出所料目标利率仍保持在0.25%,但决策者也再次承诺维持在弱势货币的水平。
Create new weak ties: Attend a networking event in your industry or in an industry you'd like to explore.
创造新的社交关系:参加你们行业内部的或是你感兴趣的行业的社交活动。
The event was cancelled due to the weak wind.
因风力太弱该次赛事取消。
And considering the weak economy, which affects people's confidence in spending, there will hardly be any major improvement in consumer demand despite the hurly-burly of the Nov 11 shopping event.
考虑到经济低迷的现状会影响到居民消费,尽管双十一当天有购买活动,也并不会出现消费者需求大幅度增长的情况。
And considering the weak economy, which affects people's confidence in spending, there will hardly be any major improvement in consumer demand despite the hurly-burly of the Nov 11 shopping event.
考虑到经济低迷的现状会影响到居民消费,尽管双十一当天有购买活动,也并不会出现消费者需求大幅度增长的情况。
应用推荐