Xamarin and Managed Extensibility Framework (MEF)

蓝咒 提交于 2019-12-24 03:32:00

问题


I'm thinking about a new mobile/tablet application.

I want to allow the users to develop their own plugins.

Imagine a cash desk application running on a Android tablet. The user could use many alternative when connecting to the credit card reader (Square, Sum'Up, ...).

If my application was an old Win32, I would just publish an API and let Square or Sum'Up developpers create a DLL. This DLL would then be placed somewhere on the computer. At application startup, I just have to look for those DLL and dynamically load them.

In fact, the real question is : Is it possible to create a plugin based application ? I'm thinking about Managed Extensibility Framework here. Many questions come to mind :

  • How to deploy those plugins ?
  • Does this work for all the platforms (iOS, Android, UWP) ?
  • ...

I was unable to find any documentation on this.

Many thanks for your thoughts and indications.

来源:https://stackoverflow.com/questions/41216347/xamarin-and-managed-extensibility-framework-mef

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!