FromKeyedServicesAttribute Construtores
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
| Nome | Description |
|---|---|
| FromKeyedServicesAttribute() |
Cria uma nova FromKeyedServicesAttribute instância com LookupMode definido como InheritKey. |
| FromKeyedServicesAttribute(Object) |
Cria uma nova instância FromKeyedServicesAttribute. |
FromKeyedServicesAttribute()
Cria uma nova FromKeyedServicesAttribute instância com LookupMode definido como InheritKey.
public:
FromKeyedServicesAttribute();
public FromKeyedServicesAttribute();
Public Sub New ()
Aplica-se a
FromKeyedServicesAttribute(Object)
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.