1.

What Is Dependency Injection / Ioc Containers?

Answer»

Inversion of Control (IOC) and dependency injection are TWO design patterns that are closely related and the container is BASICALLY a chunk of INFRASTRUCTURE code that does both of these patterns for you. IoC pattern is about DELEGATING responsibility for construction and the dependency injection pattern is about providing dependencies to an object that's already been constructed.

Inversion of Control (IoC) and dependency injection are two design patterns that are closely related and the container is basically a chunk of infrastructure code that does both of these patterns for you. IoC pattern is about delegating responsibility for construction and the dependency injection pattern is about providing dependencies to an object that's already been constructed.



Discussion

No Comment Found