17 references to _measurements
Microsoft.Extensions.Diagnostics.Testing (17)
Metrics\MetricCollector.cs (17)
124
lock (
_measurements
)
135
_measurements
.Clear();
160
lock (
_measurements
)
163
_measurements
.Clear();
174
lock (
_measurements
)
178
var measurements =
_measurements
.ToArray();
181
_measurements
.Clear();
195
lock (
_measurements
)
198
return
_measurements
.Count > 0 ?
_measurements
[
_measurements
.Count - 1] : null;
214
lock (
_measurements
)
218
if (
_measurements
.Count >= minCount)
231
lock (
_measurements
)
301
lock (
_measurements
)
306
_measurements
.Add(m);
311
if (
_measurements
.Count >= _waiters[i].MinCount)