1 write to _timeProvider
Microsoft.Extensions.Diagnostics.Testing (1)
Metrics\MetricCollector.cs (1)
116
_timeProvider
= timeProvider ?? TimeProvider.System;
2 references to _timeProvider
Microsoft.Extensions.Diagnostics.Testing (2)
Metrics\MetricCollector.cs (2)
256
using var cancellationTokenSource = new CancellationTokenSource(timeout,
_timeProvider
);
298
var m = new CollectedMeasurement<T>(measurement, tags,
_timeProvider
.GetUtcNow());