1 instantiation of StubSampler
Microsoft.Extensions.Telemetry.Tests (1)
Sampling\BottomKSamplingLoggingBuilderExtensionsTests.cs (1)
411builder.AddSampler(new StubSampler());
5 references to StubSampler
Microsoft.Extensions.Telemetry.Tests (5)
Sampling\BottomKSamplingLoggingBuilderExtensionsTests.cs (5)
349services.AddKeyedSingleton<LoggingSampler, StubSampler>("key"); 355Assert.IsType<StubSampler>(provider.GetRequiredKeyedService<LoggingSampler>("key")); 362services.AddSingleton<LoggingSampler, StubSampler>(); 377services.AddSingleton<LoggingSampler, StubSampler>(); 396builder.AddSampler<StubSampler>();