摘要: 通过ConfigurationManager使用.NET配置文件时,可以通过添加配置文件进行单元测试,虽然可以通过测试但达不到解耦的目的。使用IConfigurationManager和ConfigurationManagerWrapper对ConfigurationManager进行适配是更好的方 阅读全文
posted @ 2016-02-02 08:25 秋天不会来 阅读(2023) 评论(1) 推荐(3) 编辑