C# Class NV.Templates.Backend.Web.Framework.Telemetry.HttpContextTelemetryInitializer

ITelemetryInitializer implementation that sets telemetry information from the current HttpContext.
Inheritance: ITelemetryInitializer
Show file Open project: nventive/DotNet.Backend.Template

Public Methods

Method Description
HttpContextTelemetryInitializer ( IHttpContextAccessor httpContextAccessor ) : System

Initializes a new instance of the HttpContextTelemetryInitializer class.

Initialize ( ITelemetry telemetry ) : void

Method Details

HttpContextTelemetryInitializer() public method

Initializes a new instance of the HttpContextTelemetryInitializer class.
public HttpContextTelemetryInitializer ( IHttpContextAccessor httpContextAccessor ) : System
httpContextAccessor IHttpContextAccessor
return System

Initialize() public method

public Initialize ( ITelemetry telemetry ) : void
telemetry ITelemetry
return void