ServiceDescriptor.KeyedImplementationType Propriedade

Definição

Obtém o Type que implementa o serviço, ou lança InvalidOperationException se IsKeyedService for false.

public:
 property Type ^ KeyedImplementationType { Type ^ get(); };
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public Type? KeyedImplementationType { get; }
public Type? KeyedImplementationType { get; }
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]
member this.KeyedImplementationType : Type
member this.KeyedImplementationType : Type
Public ReadOnly Property KeyedImplementationType As Type

Valor de Propriedade

Atributos

Observações

Se IsKeyedService for false, ImplementationType deve ser chamado em vez disso.

Aplica-se a