Menu

Skip to content
  • Home
  • About
  • Color Coder
Hamid Mosalla
Twitter Email LinkedIn GitHub Stack Overflow RSS

Hamid Mosalla

Web Development And .Net Articles, Tutorials, Discussions

Conditional Resolving

June 30, 2018 by Hamid Mosalla on .Net, Asp.Net Core, C#

Dependency Injection: Conditional Resolving of Multiple Implementation of Interface

Sometimes we need to resolve a dependency but not with one implementation, but with multiple. There are couple of scenarios that calls for conditional resolving of types. Such as when using a generic class and methods with a dependency on another class. Now imagine the aforementioned class is an abstract one, and we need to … →

 

Archives

Categories

 
Subscribe!
Copyright © 2017 Hamid Mosalla
Casper Theme By Lacy Morrow