我得到这个样本http://jfromaniello.blogspot.com/2010/04/event-aggregator-with-reactive.html ,
使用.NET 4.0讲述的事件聚合模式,但我没有在示例代码中找到ISubject接口和主题类的,我发现他在EventAggregator类使用它们,是不是使用它们这样的,会出现什么他们的代码将是什么样子?
我得到这个样本http://jfromaniello.blogspot.com/2010/04/event-aggregator-with-reactive.html ,
使用.NET 4.0讲述的事件聚合模式,但我没有在示例代码中找到ISubject接口和主题类的,我发现他在EventAggregator类使用它们,是不是使用它们这样的,会出现什么他们的代码将是什么样子?
我不是100%肯定你是问这里有什么 - 你只是寻找ISubject接口和实现? 如果这样你就可以抓住他们(连同所有System.Reactive位),从这里: http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx
使用对你使用任何平台(一个或多个)右侧的下载链接。