3 writes to EnableDetailedLatencyBreakdown
Microsoft.Extensions.Http.Diagnostics.Tests (3)
Latency\HttpClientLatencyTelemetryExtensionsTest.cs (2)
79
a.
EnableDetailedLatencyBreakdown
= false;
94
EnableDetailedLatencyBreakdown
= false
Latency\Internal\HttpLatencyTelemetryHandlerTest.cs (1)
93
hop.Setup(a => a.Value).Returns(new HttpClientLatencyTelemetryOptions {
EnableDetailedLatencyBreakdown
= false });
6 references to EnableDetailedLatencyBreakdown
Microsoft.Extensions.Http.Diagnostics.Tests (6)
Latency\HttpClientLatencyTelemetryExtensionsTest.cs (6)
51
Assert.True(options.
EnableDetailedLatencyBreakdown
);
85
Assert.False(options.
EnableDetailedLatencyBreakdown
);
105
Assert.Equal(expectedOptions.
EnableDetailedLatencyBreakdown
, options.
EnableDetailedLatencyBreakdown
);
113
{ $"{nameof(HttpClientLatencyTelemetryOptions)}:{nameof(options.
EnableDetailedLatencyBreakdown
)}", options.
EnableDetailedLatencyBreakdown
.ToString(CultureInfo.InvariantCulture) },