FromKeyedServicesAttribute Construtores
Definição
Importante
Algumas informações dizem respeito a um produto pré-lançado que pode ser substancialmente modificado antes de ser lançado. A Microsoft não faz garantias, de forma expressa ou implícita, em relação à informação aqui apresentada.
Sobrecargas
| Name | Descrição |
|---|---|
| FromKeyedServicesAttribute() |
Cria uma nova FromKeyedServicesAttribute instância com LookupMode definido como InheritKey. |
| FromKeyedServicesAttribute(Object) |
Cria uma nova FromKeyedServicesAttribute instância. |
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 FromKeyedServicesAttribute instância.
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 para associar.