You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
isICommonSomething
anddependencyTypes
contains two typesFirstImplementation
andSecondImplementation
then upon constructor injection ofIEnumerable<ICommonSomething>
this parameter will be resolved into collection ofFirstImplementation
andSecondImplementation
.This is not a bug, merely a feature request.
The text was updated successfully, but these errors were encountered: