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
Because the UnityDependencyResolver.GetInstances() method is using the ResolveAll() method of Unity it will not return any unnamed instances that were registered in the Unity container. I'm not sure if this is intentional since this is the default behavior for Unity, however it did cause me some confusion when I ran into it.
If this is not intentional I have a fix I implemented and can do a pull request to resolve it.
Thanks,
Kent
The text was updated successfully, but these errors were encountered:
On Fri, Sep 26, 2014 at 10:09 AM, kentcooper [email protected]
wrote:
Because the UnityDependencyResolver.GetInstances() method is using the
ResolveAll() method of Unity it will not return any unnamed instances that
were registered in the Unity container. I'm not sure if this is intentional
since this is the default behavior for Unity, however it did cause me some
confusion when I ran into it.
If this is not intentional I have a fix I implemented and can do a pull
request to resolve it.
Thanks,
Kent
—
Reply to this email directly or view it on GitHub #36.
Because the UnityDependencyResolver.GetInstances() method is using the ResolveAll() method of Unity it will not return any unnamed instances that were registered in the Unity container. I'm not sure if this is intentional since this is the default behavior for Unity, however it did cause me some confusion when I ran into it.
If this is not intentional I have a fix I implemented and can do a pull request to resolve it.
Thanks,
Kent
The text was updated successfully, but these errors were encountered: