控制反转可以看作两个接口的引用
    比如
    public interface IA1
    {
    public int a1();
    public int a2();
    }

    public interface IA2
    {
    IA1 Services { get, set }
    }

    public calss B:IA2
    {
    Services.a1;
    Services.a2;
    }

    不需要new,已经由框架给做好了:依赖注入(构造函数、属性、方法注入)