BoDi
BoDi copied to clipboard
Allows collection registration and resolution
There is a scenario which requires the following functionality to be available:
public void RegisterCollection(Type dependencyType, IEnumerable<Type> dependencyTypes)
This should register the collection of types as a collection of their base type, i.e.
if dependencyType is ICommonSomething and dependencyTypes contains two types FirstImplementation and SecondImplementation then upon constructor injection of IEnumerable<ICommonSomething> this parameter will be resolved into collection of FirstImplementation and SecondImplementation.
This is not a bug, merely a feature request.