2 references to ServiceProvider
Microsoft.Extensions.Http.Resilience (1)
Resilience\ResilienceHttpClientBuilderExtensions.StandardResilience.cs (1)
79
var monitor = context.
ServiceProvider
.GetRequiredService<IOptionsMonitor<HttpStandardResilienceOptions>>();
Microsoft.Extensions.Http.Resilience.Tests (1)
Resilience\HttpClientBuilderExtensionsTests.Resilience.cs (1)
151
context.
ServiceProvider
.Should().NotBeNull();