Skip to content

Instantly share code, notes, and snippets.

@huanlin
Created June 15, 2014 06:17
Show Gist options
  • Save huanlin/e8278d0f6d5c969b6ba4 to your computer and use it in GitHub Desktop.
Save huanlin/e8278d0f6d5c969b6ba4 to your computer and use it in GitHub Desktop.
Unity Configuration Example for http://huan-lin.blogspot.com/2012/07/unity-5.html
<unity>
<namespace name="Service.Class" />
<assembly name="Service" />
<container>
<register type="IOwnExpenseDService" mapTo="OwnExpenseDService" />
<register type="Model.Dal.IOwnExpenseDDal, Model" mapTo="Model.Dal.OwnExpenseDDal, Model" />
</container>
</unity>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment