Skip to content

Updated unity resolver to resolve all instances#37

Open
kentcooper wants to merge 1 commit intomhinze:masterfrom
kentcooper:unityresolver_getinstances_fix
Open

Updated unity resolver to resolve all instances#37
kentcooper wants to merge 1 commit intomhinze:masterfrom
kentcooper:unityresolver_getinstances_fix

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