示例#1
0
    public static async Task Prepare()
    {
        compile = await files.Compile("start");

        List <object> rows = new List <object>();

        for (int i = 0; i < 100; i++)
        {
            rows.Add(new {
                ID      = i,
                Message = string.Format("message {0}", i),
                Print   = i % 2 == 0,
            });
        }
        table = Table.From(new { rows = Array.From(rows), title = "libla" });
    }