Bahasa

ServiceDescriptor.ImplementationType Properti

Definisi

Type Mendapatkan yang mengimplementasikan layanan, atau mengembalikan null jika IsKeyedService adalah true.

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

Nilai Properti

Atribut

Keterangan

Jika IsKeyedService adalah true, KeyedImplementationType harus dipanggil sebagai gantinya.

Berlaku untuk