2 overrides of Services
Microsoft.Extensions.Http (1)
DefaultHttpMessageHandlerBuilder.cs (1)
43public override IServiceProvider Services { get; }
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\Internal\TestHttpMessageHandlerBuilder.cs (1)
28public override IServiceProvider Services => _services.BuildServiceProvider();
12 references to Services
Microsoft.Extensions.Http (10)
DependencyInjection\HttpClientBuilderExtensions.cs (7)
110options.HttpMessageHandlerBuilderActions.Add(b => b.AdditionalHandlers.Add(configureHandler(b.Services))); 137options.HttpMessageHandlerBuilderActions.Add(b => b.AdditionalHandlers.Add(b.Services.GetRequiredService<THandler>())); 191options.HttpMessageHandlerBuilderActions.Add(b => b.PrimaryHandler = configureHandler(b.Services)); 219options.HttpMessageHandlerBuilderActions.Add(b => b.PrimaryHandler = b.Services.GetRequiredService<THandler>()); 245options.HttpMessageHandlerBuilderActions.Add(b => configureHandler(b.PrimaryHandler, b.Services)); 298configureHandler?.Invoke(handler, b.Services); 643options.HttpMessageHandlerBuilderActions.Add(b => configureAdditionalHandlers(b.AdditionalHandlers, b.Services));
DependencyInjection\HttpClientBuilderExtensions.Logging.cs (1)
55IHttpClientLogger httpClientLogger = httpClientLoggerFactory(b.Services);
DependencyInjection\SocketsHttpHandlerBuilderExtensions.cs (1)
40configure(socketsHttpHandler, b.Services);
HttpClientFactoryOptions.cs (1)
98/// <see cref="HttpMessageHandlerBuilder.Services"/>. This includes retrieving a message handler
Microsoft.Extensions.Http.Diagnostics (1)
Latency\HttpClientLatencyTelemetryExtensions.cs (1)
44var handler = httpMessageHandlerBuilder.Services.GetRequiredService<HttpLatencyTelemetryHandler>();
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\Internal\HelperExtensions.cs (1)
21builder.AdditionalHandlers.Add(builder.Services.GetRequiredService<NoRemoteCallHandler>());