随笔分类 -  Ioc

Ioc(Inversion of Control container)。
Ioc:Autofac Registration Concepts
摘要:Reflection ComponentsWhen using reflection-based components,Autofac automatically uses the constructor for your class with the most parameters that ar... 阅读全文

posted @ 2014-05-18 22:47 幸福框架 阅读(318) 评论(0) 推荐(0)

Ioc:autofac lifetime scope.
摘要:During application execution, you’ll need to make use of the components you registered. You do this byresolvingthem from alifetime scope.The container... 阅读全文

posted @ 2014-05-17 21:49 幸福框架 阅读(1101) 评论(0) 推荐(0)

Ioc:The basic pattern for integrating Autofac into your application
摘要:The basic pattern for integrating Autofac into your application is:Structure your app with inversion of control (IoC) in mind.Add Autofac references.A... 阅读全文

posted @ 2014-05-16 21:34 幸福框架 阅读(191) 评论(0) 推荐(0)

导航

我要啦免费统计