none
How register instance in uwp and mef2? RRS feed

  • Question

  • Hi,

    I created a new uwp app, and added the nuget package Microsoft.Composition. With wpf and mef I could do something like that:

            this.Container.ComposeExportedValue<ILoggerFacade>(this.Logger);

    It seems that mef2 completly changed in uwp. There is no CompositionContainer, AggregateCatalog and no RegistrationBuilder.

    How should I be able to register a instance in mef2 and uwp without the Export attribute? 

    Thursday, March 24, 2016 2:08 PM

Answers

All replies