I downloaded the nuget package Microsoft.Composition and tried to register a service with mef2. It seems the whole framework changed. CompositionContainer, AggregateCatalog and the RegistrationBuilder are gone. The CompositionContainer seems to be replaced by the CompositeHost. I tried to register my instance on the CompositeHost but there are only functions for GetExport.
How can I register my instance to the CompositeHost?
Also I couldn't find a documentation how to use mef2 in uwp.