9 implementations of GetRequiredKeyedService
Microsoft.AspNetCore.Components.Authorization.Tests (1)
src\Components\Shared\test\TestServiceProvider.cs (1)
41public object GetRequiredKeyedService(Type serviceType, object? serviceKey)
Microsoft.AspNetCore.Components.Forms.Tests (1)
src\Components\Shared\test\TestServiceProvider.cs (1)
41public object GetRequiredKeyedService(Type serviceType, object? serviceKey)
Microsoft.AspNetCore.Components.Tests (1)
src\Components\Shared\test\TestServiceProvider.cs (1)
41public object GetRequiredKeyedService(Type serviceType, object? serviceKey)
Microsoft.AspNetCore.Components.Web.Tests (1)
src\Components\Shared\test\TestServiceProvider.cs (1)
41public object GetRequiredKeyedService(Type serviceType, object? serviceKey)
Microsoft.AspNetCore.Http.Abstractions.Tests (1)
UseMiddlewareTest.cs (1)
358public object GetRequiredKeyedService(Type serviceType, object? serviceKey)
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentServiceTestsBase.cs (1)
305public object GetRequiredKeyedService(Type serviceType, object serviceKey)
Microsoft.Extensions.AI (1)
EmptyServiceProvider.cs (1)
22public object GetRequiredKeyedService(Type serviceType, object? serviceKey) =>
Microsoft.Extensions.DependencyInjection (2)
ServiceLookup\ServiceProviderEngineScope.cs (1)
63public object GetRequiredKeyedService(Type serviceType, object? serviceKey)
ServiceProvider.cs (1)
124public object GetRequiredKeyedService(Type serviceType, object? serviceKey)
3 references to GetRequiredKeyedService
Microsoft.AspNetCore.Mvc.Core (1)
ModelBinding\Binders\KeyedServicesModelBinder.cs (1)
33keyedServices.GetRequiredKeyedService(bindingContext.ModelType, _key);
Microsoft.AspNetCore.OpenApi.Tests (1)
Services\OpenApiDocumentServiceTestsBase.cs (1)
320return _serviceProvider.GetRequiredKeyedService(serviceType, serviceKey);
Microsoft.Extensions.DependencyInjection.Abstractions (1)
ServiceProviderKeyedServiceExtensions.cs (1)
69return requiredServiceSupportingProvider.GetRequiredKeyedService(serviceType, serviceKey);