2 writes to LookupMode
Microsoft.Extensions.DependencyInjection.Abstractions (2)
FromKeyedServicesAttribute.cs (2)
23
LookupMode
= key == null ? ServiceKeyLookupMode.NullKey : ServiceKeyLookupMode.ExplicitKey;
32
LookupMode
= ServiceKeyLookupMode.InheritKey;
3 references to LookupMode
Microsoft.Extensions.DependencyInjection (1)
ServiceLookup\CallSiteFactory.cs (1)
703
object? 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.