FromKeyedServicesAttribute Constructors

Definitie

Overloads

Name Description
FromKeyedServicesAttribute()

Hiermee maakt u een nieuw FromKeyedServicesAttribute exemplaar met LookupMode de set op InheritKey.

FromKeyedServicesAttribute(Object)

Hiermee maakt u een nieuw FromKeyedServicesAttribute-exemplaar.

FromKeyedServicesAttribute()

Bron:
FromKeyedServicesAttribute.cs
Bron:
FromKeyedServicesAttribute.cs

Hiermee maakt u een nieuw FromKeyedServicesAttribute exemplaar met LookupMode de set op InheritKey.

public:
 FromKeyedServicesAttribute();
public FromKeyedServicesAttribute();
Public Sub New ()

Van toepassing op

FromKeyedServicesAttribute(Object)

Bron:
FromKeyedServicesAttribute.cs
Bron:
FromKeyedServicesAttribute.cs
Bron:
FromKeyedServicesAttribute.cs
Bron:
FromKeyedServicesAttribute.cs

Hiermee maakt u een nieuw FromKeyedServicesAttribute-exemplaar.

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

De sleutel van de sleutelservice waaraan moet worden gekoppeld.

Van toepassing op