Handling Dependency Injection in Inherited Classes
Dependency injection (DI) is a wonderful thing. Simply add your dependency as a parameter to the constructor (most commonly) of your class, register it with you DI container, and away you go - the DI container will manage the rest. Some of the key be...
samwalpole.com4 min read