摘要:
IoC的好处降低耦合,提高开发效率实现代码首先加入微软示例中的两个类namespace TongKuai.IoC{ /// /// Specifies the Unity configuration for the main container. /// public class UnityConfig { #region Unity Container private static Lazy container = new Lazy(() => { var container = new Uni... 阅读全文