public async Task <TResult> SendAsync <TResult>(IQuery <TResult> query, CancellationToken cancellationToken = default)
 {
     return(await _next.SendAsync(query, new Dictionary <string, string>(), cancellationToken));
 }
Esempio n. 2
0
 public async Task <TResult> SendAsync <TResult>(IQuery <TResult> query, IDictionary <string, string> headers, CancellationToken cancellationToken = default)
 {
     SetCorrelation(headers);
     return(await _next.SendAsync(query, headers, cancellationToken));
 }