11 references to Services
Microsoft.Extensions.Http.Resilience (4)
Hedging\StandardHedgingHandlerBuilderExtensions.cs (4)
38
_ = builder.
Services
.Configure<HttpStandardHedgingResilienceOptions>(builder.Name, section, o => o.ErrorOnUnknownConfiguration = true);
68
_ = builder.
Services
.AddOptions<HttpStandardHedgingResilienceOptions>(builder.Name).Configure(configure);
84
PipelineKeyProviderHelper.SelectPipelineByAuthority(builder.
Services
, pipelineName);
103
PipelineKeyProviderHelper.SelectPipelineBy(builder.
Services
, pipelineName, selectorFactory);
Microsoft.Extensions.Http.Resilience.Tests (7)
Hedging\StandardHedgingTests.cs (7)
65
using var serviceProvider = Builder.
Services
.BuildServiceProvider();
80
using var serviceProvider = Builder.
Services
.BuildServiceProvider();
102
using var serviceProvider = Builder.
Services
.BuildServiceProvider();
111
using var serviceProvider = Builder.
Services
.BuildServiceProvider();
173
using var serviceProvider = Builder.
Services
.BuildServiceProvider();
208
Builder.
Services
.AddSingleton(provider.Object);
285
Builder.
Services
.Configure<RequestRoutingOptions>(Builder.RoutingStrategyBuilder.Name, options => options.RoutingStrategyProvider = null);