Dependency injection (DI) is a programming design pattern which describes the situation where one object uses a second object to provide a particular capacity or to become more capable .
There are three common forms of dependency injection:
setter-,
constructor-
and interface-based injection
There are three common forms of dependency injection:
setter-,
constructor-
and interface-based injection
No comments:
Post a Comment