Esempio n. 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}");
        }
Esempio n. 2
0
        public static string MakeTable <T>()
        {
            HtmlTableMaker maker = new HtmlTableMaker();

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