The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
Well, one is of the form Foo<Bar> and the other is just Foo. That seems sufficient to distinguish which to use.
What if it has both Foo and Foo<Bar> registered as services? How does it know which one you want? You should have added Foo to the param list of the existing constructor rather than create a new constructor with one param also. That's just how DI works.
Although I suppose you could go far enough into the future to look up your own obituary, then go back to that date...
But my question is...what would you be trying to learn by attending your own funeral...? I think the risk is that, were it possible, it could fundamentally change what you think of some people, even closest friends and relatives...would you risk it?
I'd go way back to the moment life began on Earth. Not human life or dinosaurs or insects... the very first spark of life.
The Beer Prayer - Our lager, which art in barrels, hallowed be thy drink. Thy will be drunk, I will be drunk, at home as it is in the tavern. Give us this day our foamy head, and forgive us our spillage as we forgive those who spill against us. And lead us not to incarceration, but deliver us from hangovers. For thine is the beer, the bitter and the lager, for ever and ever. Barmen.