I'm using several assemblies, each exporting some IModuleInitializer.
At the start jf a program, all initializations are called:
foreach (var lazy in container.GetExports<IModuleInitializer>())
IModuleInitializer moduleInitializer = lazy.Value;
catch (Exception ex)
Now, I have, for example, Sells assembly
and SellsExtra - extending it.
SellsExtra references on Sells.
I need to make Sells Initializer to be called first,
and only then - Initializer from SellsExtra.
Is it possible somehow analyse here assembly dependencies in this code ?