Read related articles dependency injection excerpt

The so-called dependency injection, that is, the IOC container during operation, dynamic dependencies injected into certain objects.

Inversion of Control (IOC) and dependency injection (DI) is a description of the same thing from different angles. IOC is introduced into the container by way of injection dependencies manner, decoupling between objects.

Guess you like

Origin www.cnblogs.com/dayang12525/p/11284095.html