9 references to Services
Microsoft.Extensions.Http.Resilience (4)
Resilience\HttpStandardResiliencePipelineBuilderExtensions.cs (4)
35_ = builder.Services.Configure<HttpStandardResilienceOptions>( 72_ = builder.Services.AddOptions<HttpStandardResilienceOptions>(builder.PipelineName).Configure(configure); 86PipelineKeyProviderHelper.SelectPipelineByAuthority(builder.Services, builder.PipelineName); 103PipelineKeyProviderHelper.SelectPipelineBy(builder.Services, builder.PipelineName, selectorFactory);
Microsoft.Extensions.Http.Resilience.PerformanceTests (1)
HttpClientFactory.cs (1)
43.Services
Microsoft.Extensions.Http.Resilience.Tests (4)
Resilience\HttpClientBuilderExtensionsTests.Resilience.cs (2)
130clientBuilder.Services.Configure<TelemetryOptions>(o => o.MeteringEnrichers.Add(enricher)); 132var client = clientBuilder.Services.BuildServiceProvider().GetRequiredService<IHttpClientFactory>().CreateClient("client");
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (2)
161.Services.BuildServiceProvider(); 266using var client = builder.Services.BuildServiceProvider().GetRequiredService<IHttpClientFactory>().CreateClient("test");