Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allows collection registration and resolution #19

Open
godrose opened this issue Oct 17, 2018 · 0 comments
Open

Allows collection registration and resolution #19

godrose opened this issue Oct 17, 2018 · 0 comments

Comments

@godrose
Copy link

godrose commented Oct 17, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant