예제 #1
0
        public static void Case1()
        {
            TestEmployee ee = new TestEmployee
            {
                Age            = 999999,
                Name           = "ZZZZZZZZZZZZZZZZZ",
                CanWorkNightly = true
            };

            IList <TestEmployee> items = new List <TestEmployee>();

            for (int ii = 0; ii < 6; ++ii)
            {
                items.Add(ee);
            }

            HtmlTableMaker maker = new HtmlTableMaker();

            string html = maker.Make <TestEmployee>();

            Console.WriteLine($"{html}");
        }
예제 #2
0
        public static string MakeTable <T>()
        {
            HtmlTableMaker maker = new HtmlTableMaker();

            return(maker.Make <T>());
        }