摘要:
微软企业库v5.0可以对WCF rest 服务实现依赖注入1publicinterfaceIExampleService2{3IEnumerable<Example>GetAll();4}56publicclassExampleService:IExampleService7{8privatereadonlyIExampleRepositoryExampleRepository;9privatereadonlyIUnitOfWorkunitOfWork;10publicConfigService(IConfigRepositoryexampleRepository,IUnitOfW 阅读全文
posted @ 2012-04-13 23:07
瞬间飞舞
阅读(1574)
评论(0)
推荐(0)
浙公网安备 33010602011771号