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);
86
PipelineKeyProviderHelper.SelectPipelineByAuthority(builder.
Services
, builder.PipelineName);
103
PipelineKeyProviderHelper.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)
130
clientBuilder.
Services
.Configure<TelemetryOptions>(o => o.MeteringEnrichers.Add(enricher));
132
var client = clientBuilder.
Services
.BuildServiceProvider().GetRequiredService<IHttpClientFactory>().CreateClient("client");
Resilience\HttpClientBuilderExtensionsTests.Standard.cs (2)
161
.
Services
.BuildServiceProvider();
266
using var client = builder.
Services
.BuildServiceProvider().GetRequiredService<IHttpClientFactory>().CreateClient("test");