.net
共 1 篇文章
用C# 3.0 写了个IoC类
虽然c# Meta programing 的能力不够 不过新特性还是比较爽的 用这些写了个IoC类 挺有意思 c# 代码 using System; using System.Collections.Generic; using System.Linq; using System.Text; using NUnit.Framework; namespace Test { /// <summary></summary> /// service interface /// public interface IComponentService<t> </t> { T GetComponent();…
2007-07-02 22:32 · .net · C · Linq · C++ · C# · IOC