IDependencyResolver.GetService(Type) Méthode

Définition

Résout des services enregistrés uniques qui prennent en charge la création d'objet arbitraire.

public object GetService (Type serviceType);
abstract member GetService : Type -> obj
Public Function GetService (serviceType As Type) As Object

Paramètres

serviceType
Type

Type du service ou de l'objet demandé.

Retours

Service ou objet demandé.

S’applique à