10 references to ServiceKeyLookupMode
Microsoft.Extensions.DependencyInjection (3)
ServiceLookup\CallSiteFactory.cs (3)
705
ServiceKeyLookupMode
.InheritKey => serviceIdentifier.ServiceKey,
706
ServiceKeyLookupMode
.ExplicitKey => fromKeyedServicesAttribute.Key,
707
ServiceKeyLookupMode
.NullKey => null,
Microsoft.Extensions.DependencyInjection.Abstractions (7)
FromKeyedServicesAttribute.cs (7)
12
/// <seealso cref="
ServiceKeyLookupMode
"/>
23
LookupMode = key == null ?
ServiceKeyLookupMode
.NullKey :
ServiceKeyLookupMode
.ExplicitKey;
27
/// Creates a new <see cref="FromKeyedServicesAttribute"/> instance with <see cref="LookupMode"/> set to <see cref="
ServiceKeyLookupMode
.InheritKey"/>.
32
LookupMode =
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.
47
public
ServiceKeyLookupMode
LookupMode { get; }