internal IndividualDiagnosticSourceListener(DiagnosticListener diagnosticListener, IDiagnosticEventHandler eventHandler, DiagnosticSourceListenerBase <TContext> telemetryDiagnosticSourceListener, TContext context) { this.diagnosticListener = diagnosticListener; this.eventHandler = eventHandler; this.Context = context; this.telemetryDiagnosticSourceListener = telemetryDiagnosticSourceListener; }
internal IndividualDiagnosticSourceListener( DiagnosticListener diagnosticListener, IDiagnosticEventHandler eventHandler, DiagnosticSourceListenerBase <TContext> telemetryDiagnosticSourceListener, TContext context, ActiveSubsciptionManager subscriptionManager) { this.diagnosticListener = diagnosticListener; this.eventHandler = eventHandler; this.Context = context; this.telemetryDiagnosticSourceListener = telemetryDiagnosticSourceListener; this.subscriptionManager = subscriptionManager; this.subscriptionManager.Attach(this); }