Using ASP.NET Core, in file "Startup.cs" I can register dependencies using the method ConfigureServices, and add to the object "services". How do I configure multiple concrete implementations of the interface such that runtime resolution will determine the correct concrete implementation (such as by name)?
Asked
Active
Viewed 522 times
0
-
Possible duplicate of [Dependency injection resolving by name](http://stackoverflow.com/questions/39072001/dependency-injection-resolving-by-name) – adem caglin Sep 20 '16 at 18:02
-
Thanks @ademcaglin - will need to spend some time to verify this is a dup of my question. – barrypicker Sep 20 '16 at 18:11