Пример #1
0
        public static void Main(string[] args)
        {
            ManualTestCallback tcb;

              Trace("CTEST_FULL_OUTPUT (Avoid ctest truncation of output)\n");

              Trace("\n");
              Trace("With *VIRTUAL* callback...\n");
              tcb = new ManualTestCallback();
              //tcb.cb = new AbstractVehicle.AbstractVehicle_Callback(tcb.VirtualCallback);
              tcb.VirtualMain(args);

              Trace("\n");
              Trace("With *STATIC* callback...\n");
              tcb = new ManualTestCallback();
              //tcb.cb = new AbstractVehicle.AbstractVehicle_Callback(StaticCallback);
              tcb.VirtualMain(args);

              Trace("\n");
              Trace("*WITHOUT ANY* callback...\n");
              tcb = new ManualTestCallback();
              tcb.VirtualMain(args);
        }
Пример #2
0
        public static void Main(string[] args)
        {
            ManualTestCallback tcb;

            Trace("CTEST_FULL_OUTPUT (Avoid ctest truncation of output)\n");

            Trace("\n");
            Trace("With *VIRTUAL* callback...\n");
            tcb = new ManualTestCallback();
            //tcb.cb = new AbstractVehicle.AbstractVehicle_Callback(tcb.VirtualCallback);
            tcb.VirtualMain(args);

            Trace("\n");
            Trace("With *STATIC* callback...\n");
            tcb = new ManualTestCallback();
            //tcb.cb = new AbstractVehicle.AbstractVehicle_Callback(StaticCallback);
            tcb.VirtualMain(args);

            Trace("\n");
            Trace("*WITHOUT ANY* callback...\n");
            tcb = new ManualTestCallback();
            tcb.VirtualMain(args);
        }