FromKeyedServicesAttribute public class FromKeyedServicesAttribute : Attribute Indicates that the parameter should be bound using the keyed service registered with the specified key. Documentation Code public object Key { get; } The key of the keyed service to bind to. public FromKeyedServicesAttribute(object key) Creates a new FromKeyedServicesAttribute instance.