public RequestIdMiddleware(RequestDelegate next, IRequestIdFactory requestIdFactory, ILogger <RequestIdMiddleware> logger) { _next = next; _logger = logger; _requestIdFactory = requestIdFactory; }
public RequestId(IRequestIdFactory fac) { _requestId = fac.MakeRequestId(); }
public RequestId(IRequestIdFactory requestIdFactory) { _requestId = requestIdFactory.MakeRequestId(); }
public RequestId(IRequestIdFactory factory) { _requestId = factory.MakeRequestId(); }
public RequestId(IRequestIdFactory requestIdFactory) { _id = requestIdFactory.MakeRequestId(); }
public Task Invoke(HttpContext context, IRequestIdFactory requestIdFactory) { _logger.LogInformation($"Request {requestIdFactory.MakeRequestId()} executing."); return(_next(context)); }