2 references to MetricCollector
Microsoft.Extensions.Diagnostics.Testing.Tests (2)
Metrics\MetricCollectorTests.cs (2)
20
Assert.Throws<ArgumentNullException>(() => new
MetricCollector
<long>((ObservableInstrument<long>)null!));
204
using var collector = new
MetricCollector
<long>(counter, timeProvider);