FromKeyedServicesAttribute Construtores

Definição

Sobrecargas

Nome Description
FromKeyedServicesAttribute()

Cria uma nova FromKeyedServicesAttribute instância com LookupMode definido como InheritKey.

FromKeyedServicesAttribute(Object)

Cria uma nova instância FromKeyedServicesAttribute.

FromKeyedServicesAttribute()

Origem:
FromKeyedServicesAttribute.cs
Origem:
FromKeyedServicesAttribute.cs

Cria uma nova FromKeyedServicesAttribute instância com LookupMode definido como InheritKey.

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

Aplica-se a

FromKeyedServicesAttribute(Object)

Origem:
FromKeyedServicesAttribute.cs
Origem:
FromKeyedServicesAttribute.cs
Origem:
FromKeyedServicesAttribute.cs
Origem:
FromKeyedServicesAttribute.cs

Cria uma nova instância FromKeyedServicesAttribute.

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)

Parâmetros

key
Object

A chave do serviço com chave a ser associada.

Aplica-se a