-->

如何ISubject和主题会是这样的样品中,并在适当的地方使用它们的样本?(How ISubject

2019-09-30 08:49发布

我得到这个样本http://jfromaniello.blogspot.com/2010/04/event-aggregator-with-reactive.html ,

使用.NET 4.0讲述的事件聚合模式,但我没有在示例代码中找到ISubject接口和主题类的,我发现他在EventAggregator类使用它们,是不是使用它们这样的,会出现什么他们的代码将是什么样子?

Answer 1:

我不是100%肯定你是问这里有什么 - 你只是寻找ISubject接口和实现? 如果这样你就可以抓住他们(连同所有System.Reactive位),从这里: http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx

使用对你使用任何平台(一个或多个)右侧的下载链接。



文章来源: How ISubject and Subject will look like in this sample and are the sample using them in the right place?