Calling GetServices passing an interface as TService will net you a list of TService implementations, in case of singletons this is no big deal, but when we get to transient services this will return a fresh instance of all of them.
At very least a remark should be added to the XML docs warning about this.
Some sort of lazy initialization mechanism could be created
this mechanism should be easy to use
and absolutely not verbose
Not the highest priority right now, but good to keep in mind.
Calling GetServices passing an interface as TService will net you a list of TService implementations, in case of singletons this is no big deal, but when we get to transient services this will return a fresh instance of all of them.
- [ ] At very least a remark should be added to the XML docs warning about this.
- [ ] Some sort of lazy initialization mechanism could be created
- [ ] this mechanism should be easy to use
- [ ] and absolutely not verbose
Not the highest priority right now, but good to keep in mind.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Calling GetServices passing an interface as TService will net you a list of TService implementations, in case of singletons this is no big deal, but when we get to transient services this will return a fresh instance of all of them.
Not the highest priority right now, but good to keep in mind.