/// <summary> /// Initializes a new instance of the <see cref="ActionDiagnosticListener"/> class. /// </summary> /// <param name="agent">The Loupe agent.</param> public ActionDiagnosticListener(LoupeAgent agent) { _requestMetricFactory = new RequestMetricFactory(); _options = agent.Configuration.AspNet ?? new AspNetConfiguration(); }
/// <summary> /// Initializes a new instance of the <see cref="ActionDiagnosticListener"/> class. /// </summary> /// <param name="agent">The Loupe agent.</param> public ActionDiagnosticListener(LoupeAgent agent) { _actionMetricFactory = new RequestMetricFactory(); }