コード例 #1
0
 public static void Test01 <T>(T value)
 {
     ITest_01 ivalue = (ITest_01)value;
     // compile error : Cannot convert type 'T' to 'Test.Test_CS.Test_Class.Test_02'
     //Test_02 value2 = (Test_02)value;
     Test_02 value2 = value as Test_02;
 }
コード例 #2
0
ファイル: Simple.cs プロジェクト: bluebackblue/jsontest
        /** TestCoroutine
         */
        public System.Collections.IEnumerator TestCoroutine()
        {
            Test_01.Main();
            Test_02.Main();
            Test_03.Main();
            Test_04.Main();
            Test_05.Main();
            Test_06.Main();
            Test_07.Main();
            Test_08.Main();
            Test_09.Main();
            Test_10.Main();
            Test_11.Main();
            Test_12.Main();
            Test_13.Main();
            Test_14.Main();
            Test_15.Main();
            Test_16.Main();
            Test_17.Main();
            Test_18.Main();
            Test_19.Main();
            Test_20.Main();
            Test_21.Main();
            Test_22.Main();
            Test_23.Main();
            Test_24.Main();
            Test_25.Main();
            Test_26.Main();
            Test_27.Main();
            Test_28.Main();

            Test_99.Main();

            yield break;
        }