摘要:
微软企业库v5.0可以对WCF rest 服务实现依赖注入1publicinterfaceIExampleService2{3IEnumerable<Example>GetAll();4}56publicclassExampleService:IExampleService7{8privatereadonlyIExampleRepositoryExampleRepository;9privatereadonlyIUnitOfWorkunitOfWork;10publicConfigService(IConfigRepositoryexampleRepository,IUnitOfW 阅读全文