MEF 是否支持 UWP 项目?

Does MEF support UWP projects?

我一直在寻找 UWP 项目是否可以使用 Managed Extensibility Framework 来实现。

GitHub depository 棱镜,它说

MEF is supported with WPF for compatibility with previous versions. It will not be added to Windows 10 UWP or Xamarin Forms.

(是给Prism.Mef的。但是,一般MEF就不行吗?)

关于Microsoft Developer Network据说:

MEF is an integral part of the .NET Framework 4, and is available wherever the .NET Framework is used. You can use MEF in your client applications, whether they use Windows Forms, WPF, or any other technology, or in server applications that use ASP.NET.

UWP 是否包含在 “任何其他技术” 部分中,或者与 一起包含在使用 ASP.NET“ 的服务器应用程序中?部分?

我知道 .NET Core 用于 UWP 应用程序,但是 ASP.NET 这部分让我感到困惑。

简单地说,是否可以使用 MEF 编写 UWP 应用程序?有来源的答案将不胜感激。谢谢

It is for Prism.Mef. But, can it not be for MEF generally?

仅供Prism.Mef

Is UWP included in "any other technology" part or with the "in server applications that use ASP.NET" part?

UWP 包含在 "any other technology" 部分

Briefly,is it possible to write UWP applications with MEF?

是的,通过使用 Microsoft.Composition NuGet package,我们可以轻松地将 MEF 集成到 UWP 应用中。

这是Windows商店应用程序(8.1)的article,它与UWP应用程序类似。

这是一个 UWP MEF 示例:Link