Glossary

https://autofac.readthedocs.io/en/latest/glossary.html

The goal of this page is to help keep documentation, discussions, and APIs consistent.

 

  • Component

A body of code that

declares the Services it provides and

declares the Dependencies it consumes

 

  • Container

A construct that manages the Components that make up an application

 

  • Service

A well-defined behavioural contract shared between a providing and a consuming Component

 

  • Dependency

A Service required by a Component (The relationship)

 

Admittedly this seems a bit low-level to fit with the typical idea of a ‘universal language’, but within the domain of IoC containers and specifically Autofac these can be viewed as concepts rather than implementation details.

Wild deviations from these terms in the API or code should be fixed or raised as issues to fix in a future version.

The terms ApplicationTypeDelegateObjectProperty etc. have their usual meaning in the context of .NET software development.

 

posted @ 2019-02-23 14:29  ChuckLu  阅读(237)  评论(0编辑  收藏  举报