Exemplo n.º 1
0
 public async Task<object> Eval(PlasticContext context)
 {
     var items = new object[Items.Length];
     for (int i = 0; i < Items.Length; i++)
     {
         var v = await Items[i].Eval(context);
         items[i] = v;
     }
   
     var res = new TupleInstance(items);
     return res;
 }
Exemplo n.º 2
0
        public async Task <object> Eval(PlasticContext context)
        {
            var items = new object[Items.Length];

            for (int i = 0; i < Items.Length; i++)
            {
                var v = await Items[i].Eval(context);
                items[i] = v;
            }

            var res = new TupleInstance(items);

            return(res);
        }