Пример #1
0
 public HttpClientTracingDiagnosticProcessor(IHttpContextAccessor httpContextAccessor, IDiagnosticTraceLogger <HttpClientTracingDiagnosticProcessor> logger, DiagnosticOptions options, IServiceProvider serviceProvider)
 {
     Logger = logger;
     HttpContextAccessor = httpContextAccessor;
     Options             = options;
     ServiceProvider     = serviceProvider;
 }
 public DiagnosticMiddleware(IServiceProvider serviceProvider, RequestDelegate next, ILogger <DiagnosticMiddleware> logger, DiagnosticOptions options)
 {
     _next            = next;
     _logger          = logger;
     _options         = options;
     _serviceProvider = serviceProvider;
 }
 public HostingTracingDiagnosticProcessor(IServiceProvider serviceProvider, IDiagnosticTraceLogger <HostingTracingDiagnosticProcessor> logger, DiagnosticOptions options)
 {
     Logger          = logger;
     Options         = options;
     ServiceProvider = serviceProvider;
 }