예제 #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;
 }
예제 #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);
        }