IT4() static private method

static private IT4 ( ) : void
return void
示例#1
0
    public static void Run()
    {
        Logger.Log("call002-1");
        IT4 imp = new IT4_Impl3();

        imp.Call1();


        Logger.Log("call001");
        IT4_Impl impl1 = new IT4_Impl();

        impl1.Call1();

        Logger.Log("call002");
        impl2 = new IT4_Impl();
        impl2.Call1();


        Logger.Log("call003");
        Test04.impl2 = new IT4_Impl2();
        Test04.impl2.Call1();

        Logger.Log("call004");
        Test04 t4 = new Test04();

        t4.Run1();
        objs.Add("t1", impl1);
        objs.Add("t4", t4);
        Logger.Log("call004");
        Test04.IT4();
    }
示例#2
0
    public static void Run()
    {
        IT4_Impl impl1 = new IT4_Impl();

        impl1.Call1();
        impl2        = new IT4_Impl();
        Test04.impl2 = new IT4_Impl2();
        Test04.impl2.Call1();
        Test04 t4 = new Test04();

        t4.Run1();
        objs.Add("t1", impl1);
        objs.Add("t4", t4);
        Test04.IT4();
    }