1 write to Key
Microsoft.Extensions.DependencyInjection.Abstractions (1)
FromKeyedServicesAttribute.cs (1)
18public FromKeyedServicesAttribute(object key) => Key = key;
8 references to Key
Microsoft.AspNetCore.Http.Extensions (1)
RequestDelegateFactory.cs (1)
795var key = keyedServicesAttribute.Key;
Microsoft.AspNetCore.Mvc.Abstractions (1)
ModelBinding\BindingInfo.cs (1)
189bindingInfo.ServiceKey = fromKeyedServicesAttribute.Key;
Microsoft.AspNetCore.SignalR.Core (2)
Internal\HubMethodDescriptor.cs (2)
98if (keyedServiceProvider.IsKeyedService(GetServiceType(p.ParameterType), keyedServicesAttribute.Key)) 101KeyedServiceKeys.Add((index, keyedServicesAttribute.Key));
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
592var parameterSvcId = new ServiceIdentifier(keyed.Key, parameterType);
Microsoft.Extensions.DependencyInjection.Abstractions (3)
ActivatorUtilities.cs (3)
421Expression.Constant(keyAttribute?.Key) }; 539attr?.Key); 754_parameterKeys[i] = attr.Key;