示例#1
0
 public int Process(TransferingContext tctx, int number)
 {
     return(number * tctx.Get <int>("factor"));
 }
示例#2
0
        public async Task <int> ProcessAsync(TransferingContext tctx, int number)
        {
            await Task.Yield();

            return(number * tctx.Get <int>("factor"));
        }