you can decide
IEnumerable<ISomething>
and call Start for each of them
I forgot to note that you must first register all implementations of ISomething.
Assembly[] assemblies = ...; var builder = new ContainerBuilder(); builder.RegisterAssemblyTypes(assemblies).AssignableTo<ISomething>().As<ISomething>(); var container = builder.Build();
Where "assemblies" is an array of assemblies from which you want to register.
ppiotrowicz
source share