<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.0-preview.6.25358.103" />

ServiceKeyLookupMode

public enum ServiceKeyLookupMode
Specifies how to look up the service key for a parameter.

The key is explicitly specified.

The key is inherited from the parent service.

NullKey = 1

A null key indicates that the parameter should be resolved from unkeyed services. This is useful for DI implementations that require an explicit way to declare that the parameter should be resolved from unkeyed services.