10 references to KeyedImplementationInstance
Microsoft.Extensions.AI.Tests (3)
ChatCompletion\DependencyInjectionPatterns.cs (2)
151Assert.Null(sd.KeyedImplementationInstance); 220Assert.Null(sd.KeyedImplementationInstance);
SpeechToText\SpeechToTextClientDependencyInjectionPatterns.cs (1)
151Assert.Null(sd.KeyedImplementationInstance);
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\ServiceDescriptorExtensions.cs (1)
20? serviceDescriptor.KeyedImplementationInstance
Microsoft.Extensions.DependencyInjection.Abstractions (6)
ServiceDescriptor.cs (6)
192/// If <see cref="IsKeyedService"/> is <see langword="true"/>, <see cref="KeyedImplementationInstance"/> should be called instead. 279return lifetime + $"{nameof(KeyedImplementationInstance)}: {KeyedImplementationInstance}"; 334else if (KeyedImplementationInstance != null) 336return KeyedImplementationInstance.GetType(); 1054debugText += $@", KeyedImplementationInstance = {KeyedImplementationInstance}";