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

Updated unity resolver to resolve all instances #37

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kentcooper
Copy link

Updated UnityDependencyResolver's GetInstances method so it will return
all the instances both named and unnamed in the unity container. The original functionality would have only pulled in the named instances which could cause some confusion since the other DI frameworks would have pulled in everything. This should resolve #36

Updated UnityDependencyResolver's GetInstances method so it will return
all the instances both named and unnamed in the unity container
@kentcooper
Copy link
Author

Oh I also added a unit test.

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

Successfully merging this pull request may close these issues.

UnityDependencyResolver.GetInstances<T>() GetInstances does not return all registered instances
1 participant