MEFに付属しているshapesゲームのサンプルを見ると、ShapeFactoryクラスがあります。
[Export]
public class ShapeFactory
{
private readonly Random random = new Random((int)DateTime.Now.Ticks);
[Import]
private ICompositionService CompositionService { get; set; }
public IShape GetRandomShape()
{
var shapeRetriever = new ShapeRetriever();
CompositionService.SatisfyImports(shapeRetriever);
int randomIndex = random.Next(shapeRetriever.PossibleShapes.Length);
return shapeRetriever.PossibleShapes[randomIndex].GetExportedObject();
}
private class ShapeRetriever
{
[ImportMany(RequiredCreationPolicy = CreationPolicy.NonShared)]
public Export<IShape, IShapeMetadata>[] PossibleShapes { get; set; }
}
}
これは、「オンデマンド」でランダムな形状のインスタンスを作成することを示しています。ILedPanelの実装は1つしか登録されていないことを示唆しているため、ランダムな実装を選択しなくても、同様のことができると思います。