ServiceKeyAttribute
Specifies the parameter to inject the key that was used for registration or resolution.
using System;
namespace Microsoft.Extensions.DependencyInjection
{
[AttributeUsage(AttributeTargets.Parameter)]
public class ServiceKeyAttribute : Attribute
{
}
}