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); 84PipelineKeyProviderHelper.SelectPipelineByAuthority(builder.Services, pipelineName); 103PipelineKeyProviderHelper.SelectPipelineBy(builder.Services, pipelineName, selectorFactory);
Microsoft.Extensions.Http.Resilience.Tests (7)
Hedging\StandardHedgingTests.cs (7)
65using var serviceProvider = Builder.Services.BuildServiceProvider(); 80using var serviceProvider = Builder.Services.BuildServiceProvider(); 102using var serviceProvider = Builder.Services.BuildServiceProvider(); 111using var serviceProvider = Builder.Services.BuildServiceProvider(); 173using var serviceProvider = Builder.Services.BuildServiceProvider(); 208Builder.Services.AddSingleton(provider.Object); 285Builder.Services.Configure<RequestRoutingOptions>(Builder.RoutingStrategyBuilder.Name, options => options.RoutingStrategyProvider = null);