Autofac的高级使用

上传者: liuweitoo | 上传时间: 2021-04-21 21:57:38 | 文件大小: 1.33MB | 文件类型: RAR
Autofac的高级使用,配置文件组件注册,自定义组件注册,根据服务名取得组件对象。

文件下载

资源详情

[{"title":"( 99 个子文件 1.33MB ) Autofac的高级使用","children":[{"title":"AutofacDemo.Lib","children":[{"title":"obj","children":[{"title":"Debug","children":[{"title":"AutofacDemo.Lib.csproj.FileListAbsolute.txt <span style='color:#111;'> 461B </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.58KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"AutofacDemo.Lib.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"AutofacDemo.Lib.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"IDatabase.cs <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.csproj <span style='color:#111;'> 2.30KB </span>","children":null,"spread":false},{"title":"Helper.cs <span style='color:#111;'> 290B </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AutofacDemo.sln <span style='color:#111;'> 5.57KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Mgr","children":[{"title":"obj","children":[{"title":"Debug","children":[{"title":"AutofacDemo.Lib.Mgr.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Mgr.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.32KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.07KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 13.20KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"AutofacDemo.Lib.Mgr.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"Autofac.dll <span style='color:#111;'> 186.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Mgr.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Oracle.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Sql.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Sql.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Oracle.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"Autofac.xml <span style='color:#111;'> 357.65KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Mgr.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"Autofac.Configuration.dll <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"AutofacDemo.Lib.Mgr.csproj <span style='color:#111;'> 3.21KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true},{"title":"Mgr.cs <span style='color:#111;'> 1.06KB </span>","children":null,"spread":false}],"spread":true},{"title":"packages","children":[{"title":"repositories.config <span style='color:#111;'> 134B </span>","children":null,"spread":false},{"title":"Autofac.2.6.3.862","children":[{"title":"Autofac.2.6.3.862.nuspec <span style='color:#111;'> 857B </span>","children":null,"spread":false},{"title":"Autofac.2.6.3.862.nupkg <span style='color:#111;'> 865.00KB </span>","children":null,"spread":false},{"title":"lib","children":[{"title":"SL4","children":[{"title":"Autofac.dll <span style='color:#111;'> 185.50KB </span>","children":null,"spread":false},{"title":"Autofac.xml <span style='color:#111;'> 356.04KB </span>","children":null,"spread":false}],"spread":true},{"title":"SL4-WindowsPhone","children":[{"title":"Autofac.dll <span style='color:#111;'> 179.00KB </span>","children":null,"spread":false},{"title":"Autofac.xml <span style='color:#111;'> 349.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"NET35","children":[{"title":"Autofac.dll <span style='color:#111;'> 182.00KB </span>","children":null,"spread":false},{"title":"Autofac.xml <span style='color:#111;'> 355.19KB </span>","children":null,"spread":false},{"title":"Autofac.Configuration.dll <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false}],"spread":true},{"title":"SL3-WP","children":[{"title":"Autofac.dll <span style='color:#111;'> 179.00KB </span>","children":null,"spread":false},{"title":"Autofac.xml <span style='color:#111;'> 349.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"SL4-WindowsPhone71","children":[{"title":"Autofac.dll <span style='color:#111;'> 179.00KB </span>","children":null,"spread":false},{"title":"Autofac.xml <span style='color:#111;'> 349.91KB </span>","children":null,"spread":false}],"spread":true},{"title":"NET40","children":[{"title":"Autofac.dll <span style='color:#111;'> 186.50KB </span>","children":null,"spread":false},{"title":"Autofac.xml <span style='color:#111;'> 357.65KB </span>","children":null,"spread":false},{"title":"Autofac.Configuration.dll <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"AutofacDemo.Lib.Sql","children":[{"title":"obj","children":[{"title":"Debug","children":[{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Sql.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Sql.csproj.FileListAbsolute.txt <span style='color:#111;'> 873B </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Sql.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 2.62KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"AutofacDemo.Lib.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Sql.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Sql.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"SqlDatabase.cs <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Sql.csproj <span style='color:#111;'> 2.54KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AutofacDemo.Lib.Oracle","children":[{"title":"obj","children":[{"title":"Debug","children":[{"title":"AutofacDemo.Lib.Oracle.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 5.67KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Oracle.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"AutofacDemo.Lib.Oracle.csproj.FileListAbsolute.txt <span style='color:#111;'> 912B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Release","children":null,"spread":false},{"title":"Debug","children":[{"title":"AutofacDemo.Lib.Oracle.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Oracle.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"OracleDatabase.cs <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Oracle.csproj <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.34KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"AutofacDemo.Run","children":[{"title":"Program.cs <span style='color:#111;'> 555B </span>","children":null,"spread":false},{"title":"packages.config <span style='color:#111;'> 138B </span>","children":null,"spread":false},{"title":"obj","children":[{"title":"x86","children":[{"title":"Debug","children":[{"title":"DesignTimeResolveAssemblyReferencesInput.cache <span style='color:#111;'> 6.13KB </span>","children":null,"spread":false},{"title":"ResolveAssemblyReference.cache <span style='color:#111;'> 16.68KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Run.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"TempPE","children":null,"spread":false},{"title":"AutofacDemo.Run.csproj.FileListAbsolute.txt <span style='color:#111;'> 1.54KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Run.exe <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"bin","children":[{"title":"Debug","children":[{"title":"AutofacDemo.Run.exe.config <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"Autofac.dll <span style='color:#111;'> 186.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Mgr.dll <span style='color:#111;'> 5.00KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Oracle.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Run.vshost.exe <span style='color:#111;'> 11.33KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Sql.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Sql.dll <span style='color:#111;'> 4.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Oracle.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Run.pdb <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false},{"title":"Autofac.xml <span style='color:#111;'> 357.65KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Run.vshost.exe.config <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"AutofacDemo.Run.vshost.exe.manifest <span style='color:#111;'> 490B </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.Mgr.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Lib.pdb <span style='color:#111;'> 11.50KB </span>","children":null,"spread":false},{"title":"AutofacDemo.Run.exe <span style='color:#111;'> 6.00KB </span>","children":null,"spread":false},{"title":"Autofac.Configuration.dll <span style='color:#111;'> 29.50KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"AutofacDemo.Run.csproj.user <span style='color:#111;'> 227B </span>","children":null,"spread":false},{"title":"App.config <span style='color:#111;'> 706B </span>","children":null,"spread":false},{"title":"AutofacDemo.Run.csproj <span style='color:#111;'> 3.26KB </span>","children":null,"spread":false},{"title":"Helper.cs <span style='color:#111;'> 2.26KB </span>","children":null,"spread":false},{"title":"Properties","children":[{"title":"AssemblyInfo.cs <span style='color:#111;'> 1.33KB </span>","children":null,"spread":false}],"spread":false}],"spread":true}],"spread":true}]

评论信息

  • wyremix :
    完全用不到呀!
    2019-10-28
  • jamesli :
    还可以,谢谢分享
    2018-06-20
  • ensure_sl :
    还可以把 适合入门使用
    2017-09-10
  • Soft_jialing :
    感觉一般般,完全入门
    2017-05-30
  • wongvanehoa :
    分要点太高了吧,这么贪心
    2017-05-19
  • jsonzbc :
    一般般,分数要的太高
    2017-05-02
  • gjl3355 :
    还可以吧 有点帮助
    2016-09-22
  • 李凯鹏 :
    很好用,已经用了
    2016-01-07
  • BlueDreamJerry :
    挺不错的资料,学习IOC有帮助
    2015-07-24
  • Pete_jones :
    讲解的是用IOC 实现多数据库切换, 之前在博客园中看到过,这次是已经把代码写好了.感觉还好. 不过不是我想要的. 用处不大. 我想找基于Winform的,不知道哪位仁兄有这方面的例子,想交流一下.
    2015-07-20

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明