在 Mono 上使用 MAF(和 MEF)进行编程

发布于 2024-09-18 18:35:50 字数 386 浏览 5 评论 0原文

我目前在一家想要为linux平台制作软件的公司实习。由于他们是一家具有 .Net 意识的公司,他们希望我研究 Mono。 我有点必须看看它对于他们的应用程序和服务器应用程序是否稳定。

我现在正在研究mono中的MEF和MAF(托管插件框架)框架。

有人有在 MONO 中使用 MEF 和 MAF 框架构建应用程序的经验吗?您在单声道等方面遇到过一些问题吗? (欢迎提供解决方案(:)

我测试了一些简单的 MEF 教程代码,并且在单声道上运行良好(尽管我没有使用他们给我的所有功能)。 关于MAF,我没有找到太多可以帮助我的东西。有什么链接可以帮助我吗? 更具体地说,我想知道是否有一些关于 MONO 和 MONO 的帖子。 MAF 是否有效。

我已经感谢您阅读我的问题,

本杰明

I am currently working as an internship in a company who wants to make software for the linux platform. Since they are a .Net minded company, they want me to look into mono.
I kinda have to look if it is stable for their applications and server apps.

I am now studying the MEF and MAF ( Managed AddIn Framework ) frameworks in mono.

Does anyone have some experience in building applications with the MEF and MAF framework in MONO? Did you experience some problems on mono etc? (and solutions are welcome (: )

I tested some easy tutorial code of MEF and that worked fine with mono (although I didn't use all functions they give me).
About MAF I didn't find that much that could help me. Any links that could help me?
To be more specific, I wonder if there exists some posts about MONO & MAF if it works or not.

I already thank you for reading my question,

Benjamin

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

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

发布评论

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

评论(4

Smile简单爱 2024-09-25 18:35:50

一旦您应用了 2 个补丁,MEF 就可以在 Mono 上运行,以便它可以在区分大小写的文件系统上运行。 Mono 2.8 将在接下来的几周内随 MEF 一起发布:http://mono-project.com/Release_Notes_Mono_2。 8.

我在 .Net 和 Mono 上使用 MEF for Pinta: http://github.com/jpobst/Pinta 。我的用法很简单,但效果很好。

我对MAF一无所知。

MEF works on Mono, once you apply 2 patches so that it works on case-sensitive file systems. Mono 2.8 will ship with MEF in the next few weeks: http://mono-project.com/Release_Notes_Mono_2.8.

I use MEF for Pinta on .Net and Mono: http://github.com/jpobst/Pinta. My usage is trivial, but it works great.

I do not know anything about MAF.

青春有你 2024-09-25 18:35:50

我很确定 MAF 现在和将来都不会在 Mono 上提供。

MEF 的源代码已随许可证一起发布,允许将其合并到 Mono 中。据我所知,MAF 的源代码根本没有发布,而且我认为没有人有兴趣为 Mono 重写它。

I am pretty sure MAF is not and will not be available on Mono.

The source code to MEF was released with a license that allowed it to be incorporated into Mono. The source code to MAF has not been released at all as far as I know, and I don't think there is any interest in rewriting it for Mono.

南风几经秋 2024-09-25 18:35:50

Mono 中 MAF 的等效项是 Mono.Addins。我认为它与 MAF 不太一样的 API,但它提供了相同的功能。

The equivalent of MAF in Mono is Mono.Addins. I think it's not quite the same API as MAF, but it provides the same functionality.

半衬遮猫 2024-09-25 18:35:50

可以在此处找到 MAF 的开源实现 System.AddIn 它的功能并非 100% 完整但可以在 Linux 上使用,使用 mono,在单独的进程中运行插件。

An open source implementation of MAF can be found here System.AddIn Its not 100% feature complete but can be used on Linux, with mono, running addins in separate processes.

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