How to get exported values (MEF) in metro style apps
问题 I recognized, that MEF is limited for metro style apps. There is no container anymore, so how can I get specific exported values like ILogger logger = container.GetExportedValues<ILogger>(); ? Is the any tutorial available covering the metro version of MEF? Thanks for Help, Eny 回答1: As I already wrote in the comment, I don't really like this approach, but it is the best what I have up to this moment: public class CompositionContainer { private readonly CompositionService _service; public