6 references to RequestLatencyTelemetryServiceCollectionExtensions
Microsoft.AspNetCore.Diagnostics.Middleware.Tests (6)
Latency\ChecpointAcceptanceTests.cs (1)
27
.ConfigureServices(services =>
RequestLatencyTelemetryServiceCollectionExtensions
.AddRequestCheckpoint(services
Latency\RequestCheckpointExtensionsTests.cs (2)
17
Assert.Throws<ArgumentNullException>(() => Extensions.DependencyInjection.
RequestLatencyTelemetryServiceCollectionExtensions
.AddRequestCheckpoint(null!));
29
Assert.Throws<ArgumentNullException>(() => Extensions.DependencyInjection.
RequestLatencyTelemetryServiceCollectionExtensions
.AddPipelineEntryCheckpoint(null!));
Latency\RequestLatencyTelemetryExtensionsTests.cs (3)
21
RequestLatencyTelemetryServiceCollectionExtensions
.AddRequestLatencyTelemetry(null!));
23
RequestLatencyTelemetryServiceCollectionExtensions
.AddRequestLatencyTelemetry(new ServiceCollection(), configure: null!));
25
RequestLatencyTelemetryServiceCollectionExtensions
.AddRequestLatencyTelemetry(new ServiceCollection(), section: null!));