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