I have a scenario where I have to get an export from my CompositionContainer instance but I only have a Type to work with; I don\'t know the type at compile time, hence I ca
Found the answer:
var export = _container.GetExports(someType, null, null).FirstOrDefault();