Example #1
0
        public static void testRoutes()
        {
            Controllers.Routes.Route.register();
            Controllers.Routes.Route.Go("index");
            Controllers.Routes.Route.Go("index", "Index");
            Controllers.Routes.Route.Go("Index", "Get", 1);
            Controllers.Routes.Route.Go("test", "Test");
            Controllers.Routes.Route.Go("test", "Test1", 2, "A12");
            var sarr = ReflectionFactory.MakeSources();

            foreach (var s in sarr)
            {
                Console.WriteLine("创建 " + s.ShowInfo());
            }
            ReflectionFactory.ShowSource("Test1Source");
        }