c# - .NET Core 有 Rx.NET 吗?

标签 c# system.reactive .net-core

找到 https://github.com/Reactive-Extensions/Rx.NET/issues/148 ,但我无法弄清楚底线 - .NET Core 的 Rx.NET 在哪里以及如何获得它?

我正在使用安装了 .NET Core 的 Enterprise Visual Studio 2015 Update 3。

最佳答案

是的,但是 Rx.NET 命名空间和包已经重命名为 System.Reactive 为 described here .

The NuGet packages have changed their package naming in the move from v2.x.x to v3.0.0

  • Rx-Main is now System.Reactive
  • Rx-Core is now System.Reactive.Core
  • Rx-Interfaces is now System.Reactive.Interfaces
  • Rx-Linq is now System.Reactive.Linq
  • Rx-PlatformServices is now System.Reactive.PlatformServices
  • Rx-Testing is now Microsoft.Reactive.Testing

您可以通过编辑 project.json 并添加对 System.Reactive 的引用来添加 NuGet 包

  (...)
  "dependencies": {
    "Microsoft.NETCore.App": {
      "type": "platform",
      "version": "1.0.0"
    },
    "System.Reactive": "3.0.0"    <------------- 
  },

  "frameworks": {
    "netcoreapp1.0": {
      "imports": "dnxcore50"
    }
  }

关于c# - .NET Core 有 Rx.NET 吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38579373/

相关文章:

c# - 查询 dns 别名

c# - 具有多个项目的 ConfigurationSection

.NET Rx Koans : Why does this test case fail?

c# - 如何创建一个产生单一值且永不完成的可观察对象

javascript - RxJS 中按特定时间量分隔可观察值

c# - 如何单元测试方法调用 IConfiguration.Get<T> 扩展

asp.net - AutoValidateAntiForgeryToken 与 ValidateAntiForgeryToken

c# - 解析复杂的 WSDL 参数信息

c# - 如何获取您的 PING 并将其贴在标签上

C# dot net core 单实例应用程序将参数传递给第一个实例