Beispiel #1
0
 public RequestPerformanceBehaviour(ILogger <TRequest> logger,
                                    IMediator mediator, IAppUserIdSession appUser)
 {
     _timer    = new Stopwatch();
     _logger   = logger;
     _mediator = mediator;
     _appUser  = appUser;
 }
 public Handler(IApplicationDbContext context, IAppUserIdSession appUserIdSession, IMapper mapper)
 => (_context, _appUserIdSession, _mapper) = (context, appUserIdSession, mapper);
 public RequestLogger(ILogger <TRequest> logger, IMediator mediator, IAppUserIdSession appUser)
 {
     _mediator = mediator;
     _appUser  = appUser;
     _logger   = logger;
 }