14 references to GetRequiredKeyedService
Aspire.Azure.Messaging.EventHubs.Tests (1)
AspireEventHubsExtensionsTests.cs (1)
465host.Services.GetRequiredKeyedService(s_clientTypes[clientIndex], key) :
Aspire.Confluent.Kafka.Tests (8)
ConsumerConfigurationTests.cs (4)
39? host.Services.GetRequiredKeyedService(ReflectionHelpers.ConsumerConnectionFactoryStringKeyStringValueType.Value, "messaging") 72? host.Services.GetRequiredKeyedService(ReflectionHelpers.ConsumerConnectionFactoryStringKeyStringValueType.Value, "messaging") 105? host.Services.GetRequiredKeyedService(ReflectionHelpers.ConsumerConnectionFactoryStringKeyStringValueType.Value, "messaging") 184? host.Services.GetRequiredKeyedService(ReflectionHelpers.ConsumerConnectionFactoryStringKeyStringValueType.Value, "messaging")
ProducerConfigurationTests.cs (4)
36host.Services.GetRequiredKeyedService(ReflectionHelpers.ProducerConnectionFactoryStringKeyStringValueType.Value, "messaging") : 66host.Services.GetRequiredKeyedService(ReflectionHelpers.ProducerConnectionFactoryStringKeyStringValueType.Value, "messaging") : 98host.Services.GetRequiredKeyedService(ReflectionHelpers.ProducerConnectionFactoryStringKeyStringValueType.Value, "messaging") : 174host.Services.GetRequiredKeyedService(ReflectionHelpers.ProducerConnectionFactoryStringKeyStringValueType.Value, "messaging") :
Microsoft.AspNetCore.Mvc.Razor (1)
RazorPagePropertyActivator.cs (1)
86var value = serviceProvider.GetRequiredKeyedService(property.PropertyType, key);
Microsoft.AspNetCore.SignalR.Core (1)
Internal\HubMethodDescriptor.cs (1)
192return serviceProvider.GetRequiredKeyedService(parameterType, key);
Microsoft.Extensions.DependencyInjection.Abstractions (2)
ServiceProviderKeyedServiceExtensions.cs (2)
87return (T)provider.GetRequiredKeyedService(typeof(T), serviceKey); 118return (IEnumerable<object>)provider.GetRequiredKeyedService(genericEnumerable, serviceKey);
Microsoft.Extensions.DependencyInjection.AutoActivation (1)
AutoActivationHostedService.cs (1)
33_ = _provider.GetRequiredKeyedService(serviceType, serviceKey);