熱點推薦:
您现在的位置: 電腦知識網 >> 編程 >> .NET編程 >> 正文

ASP.NET MVC 4框架揭秘:從Unity來認識IoC(1)[2]

2013-11-13 12:31:30  來源: .NET編程 

  <configuration>

  <configSections>

  <section name=unity

  type=MicrosoftPracticesUnityConfigurationUnityConfigurationSection

  MicrosoftPracticesUnityConfiguration/>

  </configSections>

  <unity>

  <containers>

  <container name=defaultContainer>

  <register type=UnityDemoIA UnityDemo mapTo=UnityDemoA UnityDemo/>

  <register type=UnityDemoIB UnityDemo mapTo=UnityDemoB UnityDemo/>

  <register type=UnityDemoIC UnityDemo mapTo=UnityDemoC UnityDemo/>

  <register type=UnityDemoID UnityDemo mapTo=UnityDemoD UnityDemo/>

  </container>

  </containers>

  </unity>

  </configuration>

       返回目錄ASPNET MVC 框架揭秘

       編輯推薦

       ASP NET開發培訓視頻教程

       Microsoft NET框架程序設計視頻教程

       Java程序性能優化讓你的Java程序更快更穩定

       Visual C++音頻/視頻技術開發與實戰

[]  []  


From:http://tw.wingwit.com/Article/program/net/201311/16078.html
    推薦文章
    Copyright © 2005-2013 電腦知識網 Computer Knowledge   All rights reserved.