gpt4 book ai didi

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

转载 作者:可可西里 更新时间:2023-11-01 08:16:08 25 4
gpt4 key购买 nike

找到 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/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com