首页 > 其他 > 详细

Glossary

时间:2019-02-23 15:23:57      阅读:162      评论:0      收藏:0      [点我收藏+]

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

原文:https://www.cnblogs.com/chucklu/p/10422607.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!