示例#1
0
 public async Task DispatchAsync()
 {
     foreach (var o in orders)
     {
         await orderDispatcher.DispatchAsync(o);
     }
     await orderDispatcher.DispatchAsync(rootOrder);
 }
示例#2
0
 public async Task DispatchAsync() => await orderDispatcher.DispatchAsync(order);