58 references to GetKeyedService
Aspire.Azure.AI.Inference.Tests (12)
Aspire.Azure.Messaging.EventHubs (1)
Aspire.Azure.Npgsql.Tests (1)
Aspire.Components.Common.TestUtilities (2)
Aspire.Microsoft.Azure.Cosmos.Tests (5)
Aspire.MongoDB.Driver.Tests (2)
Aspire.MongoDB.Driver.v2.Tests (2)
Aspire.MySqlConnector.Tests (1)
Aspire.Npgsql.Tests (1)
Aspire.StackExchange.Redis (1)
Microsoft.AspNetCore.OpenApi (1)
Microsoft.Extensions.AI.Tests (2)
Microsoft.Extensions.Caching.Hybrid (2)
Microsoft.Extensions.DependencyInjection.Abstractions (23)
ServiceCollectionServiceExtensions.Keyed.cs (23)
26/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
55/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
84/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
109/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
134/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
160/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
190/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
219/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
248/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
277/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
302/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
327/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
353/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
383/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
412/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
441/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
470/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
495/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
520/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
546/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
576/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
605/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
635/// When multiple registrations exist for the same type and key, <see cref="ServiceProviderKeyedServiceExtensions.GetKeyedService{T}(IServiceProvider, object)"/> returns the last registered service.
Microsoft.Maui (2)