Glossary

Posted chucklu

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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.

 

以上是关于Glossary的主要内容,如果未能解决你的问题,请参考以下文章