You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Dependency Injection

Dependency Injection generally means passing a dependent object as a parameter to a method, rather than having the method create the dependent object.

What it means in practice is that the method does not have a direct dependency on a particular implementation; any implementation that meets the requirements can be passed as a parameter.

Example



References

ReferenceURL
Dependency Injection & Inversion of Controlhttps://www.youtube.com/watch?v=EPv9-cHEmQw


  • No labels