Patterns in the Composite Application Library

Patterns in the Composite Application Library

 

Inversion of Control

https://www.codeproject.com/Articles/29271/Design-pattern-Inversion-of-control-and-Dependency

 

Dependency Injection

The Dependency Injection pattern is a specialized version of the Inversion of Control pattern where the concern being inverted is the process of obtaining the needed dependency.

The Dependency Injection pattern is a specialization of the Inversion of Control pattern. The Dependency Injection pattern uses a builder object to initialize objects and provide the required dependencies to the object.

Service Locator

Dependency injection in ASP.NET Core

 

 

 

posted @ 2018-02-06 18:49  ChuckLu  阅读(153)  评论(0编辑  收藏  举报