Reactive Framework (RX) 可以在 Mono 中使用吗?

发布于 2024-08-29 13:22:08 字数 275 浏览 12 评论 0原文

一直在搜索,但我发现的唯一的东西是 http://evain.net/blog/articles/2009/07/30/rebasing-system-reactive-to-the-net-clr 我开始工作,但感觉应该有是一种更简单的方法,特别是因为 rx 是在 09 年中期首次发布的。

Been searching but the only thing I found was http://evain.net/blog/articles/2009/07/30/rebasing-system-reactive-to-the-net-clr which I got to work, but it feels like there should be a simpler way, specially since rx was first release back in mid 09.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

终弃我 2024-09-05 13:22:08

您现在可以下载 .NET 3.5SP1 和 .NET 4,因此,如果它只适用于最新版本的 Mono,我不会感到惊讶 - 根本不需要 Silverlight doohickies。

话虽如此,我根本没有针对 Mono 尝试过:)

You can now download it for .NET 3.5SP1 and .NET 4, so I wouldn't be at al surprised if it just worked against recent releases of Mono - no Silverlight doohickies required at all.

Having said that, I haven't tried it at all against Mono :)

筱武穆 2024-09-05 13:22:08

上次我尝试时,它不起作用,因为其中一个程序集引用了本机 win32 dll 或某些未由 mono 实现的框架 dll。然而,自从我尝试以来,至少已经发布了一个 Rx 版本。

Last time I tried, it did not work since one of the assemblies referenced either a native win32 dll or some framework dll not implemented by mono. However, there has been at least one release of Rx since I tried.

老街孤人 2024-09-05 13:22:08

是的,虽然我自己没有尝试过。
您可以在 https://github.com/atsushieno/mono 找到 mono-reactive -反应式

Yes, although I haven't tried it myself.
You can find mono-reactive at https://github.com/atsushieno/mono-reactive.

趁微风不噪 2024-09-05 13:22:08

我已经研究了一段时间,发现 Microsoft 的 .NET 3.5 SP1 二进制文件可以在 Mono 2.6.x 上运行。但是,到目前为止我还无法让 .NET 4 二进制文件正常工作。他们似乎期望 IObserver/IObservable (可能是其他东西?)出现在 mscorlib.dll 中,但 Mono 2.6.x 中并非如此。不幸的是,这意味着 2.6.x 下没有 IObservable/IObserver 的协变/逆变版本。

还没有深入研究 Mono 的 svn 来看看我是否可以让它以这种方式工作。

I've been playing around with it for a while and I've found that the .NET 3.5 SP1 binaries from Microsoft work on Mono 2.6.x. However, as of yet I haven't been able to get the .NET 4 binaries to work. It seems they expect IObserver/IObservable (possibly other stuff?) to be present in mscorlib.dll, which is not the case in Mono 2.6.x. Unfortunately this means no covariant/contravariant versions of IObservable/IObserver under 2.6.x.

Haven't yet dug through Mono's svn to see if I could get it working that way.

岁月流歌 2024-09-05 13:22:08

如果您查看 mono 存储库的 .gitmodules,您将找到对外部 RX 存储库的引用,我预计它将成为未来单声道发行版的一部分(Mono 3.0.1 尚不包含它)。

If you'll look at .gitmodules of mono repository you'll find reference to external RX repository which I expect will be the part of future mono distributions (Mono 3.0.1 doesn't contain it yet).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文