コード例 #1
0
 public async Task Handle(CompleteOrder message, IMessageHandlerContext context)
 {
     // code to handle order completion
     MarkAsComplete();
 }
コード例 #2
0
 public Task Handle(CompleteOrder message, IMessageHandlerContext context)
 {
     // code to handle order completion
     MarkAsComplete();
     return(Task.CompletedTask);
 }