Język

ServiceDescriptor.ImplementationType Właściwość

Definicja

Pobiera element Type implementujący usługę lub zwraca wartość null , jeśli IsKeyedService ma wartość 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

Wartość właściwości

Atrybuty

Uwagi

Jeśli IsKeyedService parametr ma truewartość , KeyedImplementationType należy wywołać zamiast tego.

Dotyczy