3

我安装了 VS2010 RTM,我想添加对 Reactive Framework 的引用,我已经寻找 system.CoreEx 和 system.Reactive 并且它们不存在。我究竟做错了什么?

4

3 回答 3

3

您需要下载并安装 .Net v4.0 的 Rx 程序集,因为 Rx 尚未发布:

http://msdn.microsoft.com/en-us/devlabs/ee794896.aspx

另一种选择,即运输,是ObservableF# 中的模块:

http://msdn.microsoft.com/en-us/library/ee370313(VS.100).aspx

编辑 - Rx 2.0 现已发布,因此您可能会对依赖项感觉更好:http: //msdn.microsoft.com/en-us/data/gg577610

于 2010-07-12T09:21:46.477 回答
1

Only the IObservable<T> and IObserver<T> interfaces are in the .NET v4.0 framework. The Rx operators and related classes are in the download pointed out by codekaizen.

于 2010-07-12T17:18:01.003 回答
0

在 Microsoft 将 Rx 开源之前,Codekaizen 的回应是最佳答案:Reactive Extensions (Rx) 现在是开源的

于 2012-11-07T08:44:32.877 回答