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