1 write to _listener
System.Diagnostics.DiagnosticSource (1)
System\Diagnostics\Metrics\AggregationManager.cs (1)
76
_listener
= new MeterListener();
13 references to _listener
System.Diagnostics.DiagnosticSource (13)
System\Diagnostics\Metrics\AggregationManager.cs (13)
77
_listener
.InstrumentPublished += PublishedInstrument;
78
_listener
.MeasurementsCompleted += CompletedMeasurements;
80
_listener
.SetMeasurementEventCallback<double>((i, m, l, c) => ((InstrumentState)c!).Update((double)m, l));
81
_listener
.SetMeasurementEventCallback<float>((i, m, l, c) => ((InstrumentState)c!).Update((double)m, l));
82
_listener
.SetMeasurementEventCallback<long>((i, m, l, c) => ((InstrumentState)c!).Update((double)m, l));
83
_listener
.SetMeasurementEventCallback<int>((i, m, l, c) => ((InstrumentState)c!).Update((double)m, l));
84
_listener
.SetMeasurementEventCallback<short>((i, m, l, c) => ((InstrumentState)c!).Update((double)m, l));
85
_listener
.SetMeasurementEventCallback<byte>((i, m, l, c) => ((InstrumentState)c!).Update((double)m, l));
86
_listener
.SetMeasurementEventCallback<decimal>((i, m, l, c) => ((InstrumentState)c!).Update((double)m, l));
151
_listener
.EnableMeasurementEvents(instrument, state);
172
_listener
.Start();
257
_listener
.Dispose();
432
_listener
.RecordObservableInstruments();