ServiceKeyAttribute public class ServiceKeyAttribute : Attribute Specifies the parameter to inject the key that was used for registration or resolution. Documentation Code public ServiceKeyAttribute()