Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 
 
 

32 lignes
1.4 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <unity>
  3. <typeAliases>
  4. <typeAlias alias="IDatabase" type="Learun.DataBase.IDatabase,Learun.DataBase" />
  5. <typeAlias alias="SqlServer" type="Learun.DataBase.SqlServer.Database,Learun.DataBase.SqlServer" />
  6. <typeAlias alias="MySql" type="Learun.DataBase.MySqlEx.Database,Learun.DataBase.MySqlEx" />
  7. <typeAlias alias="Oracle" type="Learun.DataBase.Oracle.Database,Learun.DataBase.Oracle" />
  8. <!--工作流接口-->
  9. <typeAlias alias="INodeMethod" type=" Learun.Application.WorkFlow.INodeMethod, Learun.Application.WorkFlow" />
  10. <typeAlias alias="NodeMethod" type=" Learun.Application.WorkFlow.NodeMethod, Learun.Application.WorkFlow" />
  11. <!--任务调度器-->
  12. <typeAlias alias="ITSMethod" type="Learun.Application.Extention.TaskScheduling.ITsMethod,Learun.Application.Extention" />
  13. </typeAliases>
  14. <containers>
  15. <container name="IOCcontainer">
  16. <type type="IDatabase" mapTo="SqlServer" name="SqlServer"></type >
  17. <type type="IDatabase" mapTo="MySql" name="MySql"></type >
  18. <type type="IDatabase" mapTo="Oracle" name="Oracle"></type >
  19. </container>
  20. <container name="WfIOCcontainer">
  21. <type type="INodeMethod" mapTo="NodeMethod"></type>
  22. </container>
  23. <container name="TsIOCcontainer">
  24. <!--<type type="ITSMethod" mapTo="TestTask" name="taskioc"></type>-->
  25. </container>
  26. </containers>
  27. </unity>