进一步理解需要.NET 3.0/3.5/4.0的几个概念:弱事件(weak event)、弱事件管理器(WeakEventManager)、lambda表达式、分派器(dispatcher),等等。
基于1个网页-相关网页
Certain scenarios inherently lend themselves to the application of the weak event pattern.
某些方案本质上适合应用弱事件模式。
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的关系创建一个管理器类。
应用推荐