示例#1
0
 public static Task <TResult> Ask <TResult>(this ICommandBus bus, ICommand command, IDictionary <string, object> headers = null)
 {
     return(bus.Ask <TResult>(new Envelope <ICommand>(command, headers)));
 }