5 references to ServiceProviderServiceExtensions
Microsoft.AspNetCore.Http.Extensions (4)
RequestDelegateFactory.cs (4)
55
private static readonly MethodInfo GetRequiredServiceMethod = typeof(
ServiceProviderServiceExtensions
).GetMethod(nameof(
ServiceProviderServiceExtensions
.GetRequiredService), BindingFlags.Public | BindingFlags.Static, new Type[] { typeof(IServiceProvider) })!;
56
private static readonly MethodInfo GetServiceMethod = typeof(
ServiceProviderServiceExtensions
).GetMethod(nameof(
ServiceProviderServiceExtensions
.GetService), BindingFlags.Public | BindingFlags.Static, new Type[] { typeof(IServiceProvider) })!;
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ISupportRequiredService.cs (1)
9
/// Optional contract used by <see cref="
ServiceProviderServiceExtensions
.GetRequiredService{T}(IServiceProvider)"/>