2 writes to LookupMode
Microsoft.Extensions.DependencyInjection.Abstractions (2)
FromKeyedServicesAttribute.cs (2)
23LookupMode = key == null ? ServiceKeyLookupMode.NullKey : ServiceKeyLookupMode.ExplicitKey; 32LookupMode = ServiceKeyLookupMode.InheritKey;
3 references to LookupMode
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
703object? serviceKey = fromKeyedServicesAttribute.LookupMode switch
Microsoft.Extensions.DependencyInjection.Abstractions (2)
FromKeyedServicesAttribute.cs (2)
27/// Creates a new <see cref="FromKeyedServicesAttribute"/> instance with <see cref="LookupMode"/> set to <see cref="ServiceKeyLookupMode.InheritKey"/>. 40/// A <see langword="null"/> value is also used along with <see cref="LookupMode"/> set to <see cref="ServiceKeyLookupMode.InheritKey"/> to indicate that the key should be inherited from the parent scope.