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)
256using var cancellationTokenSource = new CancellationTokenSource(timeout, _timeProvider); 298var m = new CollectedMeasurement<T>(measurement, tags, _timeProvider.GetUtcNow());