2 overrides of Services
Microsoft.Extensions.Http (1)
DefaultHttpMessageHandlerBuilder.cs (1)
43
public override IServiceProvider
Services
{ get; }
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\Internal\TestHttpMessageHandlerBuilder.cs (1)
28
public override IServiceProvider
Services
=> _services.BuildServiceProvider();
12 references to Services
Microsoft.Extensions.Http (10)
DependencyInjection\HttpClientBuilderExtensions.cs (7)
110
options.HttpMessageHandlerBuilderActions.Add(b => b.AdditionalHandlers.Add(configureHandler(b.
Services
)));
137
options.HttpMessageHandlerBuilderActions.Add(b => b.AdditionalHandlers.Add(b.
Services
.GetRequiredService<THandler>()));
191
options.HttpMessageHandlerBuilderActions.Add(b => b.PrimaryHandler = configureHandler(b.
Services
));
219
options.HttpMessageHandlerBuilderActions.Add(b => b.PrimaryHandler = b.
Services
.GetRequiredService<THandler>());
245
options.HttpMessageHandlerBuilderActions.Add(b => configureHandler(b.PrimaryHandler, b.
Services
));
298
configureHandler?.Invoke(handler, b.
Services
);
643
options.HttpMessageHandlerBuilderActions.Add(b => configureAdditionalHandlers(b.AdditionalHandlers, b.
Services
));
DependencyInjection\HttpClientBuilderExtensions.Logging.cs (1)
55
IHttpClientLogger httpClientLogger = httpClientLoggerFactory(b.
Services
);
DependencyInjection\SocketsHttpHandlerBuilderExtensions.cs (1)
40
configure(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)
44
var handler = httpMessageHandlerBuilder.
Services
.GetRequiredService<HttpLatencyTelemetryHandler>();
Microsoft.Extensions.Http.Diagnostics.Tests (1)
Logging\Internal\HelperExtensions.cs (1)
21
builder.AdditionalHandlers.Add(builder.
Services
.GetRequiredService<NoRemoteCallHandler>());