-
Notifications
You must be signed in to change notification settings - Fork 779
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
SimpleContainer.GetAllInstances only return one instance? #579
Comments
After looking into the source I found that the correct way to GetAllInstances is to make your instances having the same key:
But however, The current GetAllInstances can only get instances that have null as key. I think that a little more work does make sense:
|
CaulyKan
added a commit
to CaulyKan/Caliburn.Micro
that referenced
this issue
Jan 21, 2019
nigel-sampson
added a commit
that referenced
this issue
Jan 21, 2019
#579 Add optional key to GetAllInstances
Thanks for finding this, I've merged #580. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm not sure is this a bug or a feature? Or am I using GetAllInstances in a wrong way?
The text was updated successfully, but these errors were encountered: