What does Dependency Injection mean by saying it can inject at runtime?
The service type is defined at compile time. This is normally in the form of an interface or a (sometimes abstract) base class. The key point here is Liskovs substitution principle It states that, …