Κοινή χρήση μέσω


FromKeyedServicesAttribute(Object) Constructor

Definition

Creates a new FromKeyedServicesAttribute instance.

public:
 FromKeyedServicesAttribute(System::Object ^ key);
public FromKeyedServicesAttribute (object key);
new Microsoft.Extensions.DependencyInjection.FromKeyedServicesAttribute : obj -> Microsoft.Extensions.DependencyInjection.FromKeyedServicesAttribute
Public Sub New (key As Object)

Parameters

key
Object

The key of the keyed service to bind to.

Applies to