Exemple #1
0
 public Task OnResponse <TReq, TRes>(
     IServiceInstance service,
     TReq request,
     ServiceResponse <TRes> response,
     CancellationToken cancellationToken)
     where TReq : BaseRequest, new()
     where TRes : new()
 {
     return(Task.FromResult(_logger.LogResponse(request.CorrelationId, service.Name, response)));
 }