Partager via


DependencyResolverExtensions.GetService<TService> Méthode

Définition

public static TService GetService<TService> (this System.Web.Http.Dependencies.IDependencyResolver resolver);
static member GetService : System.Web.Http.Dependencies.IDependencyResolver -> 'Service
<Extension()>
Public Function GetService(Of TService) (resolver As IDependencyResolver) As TService

Paramètres de type

TService

Paramètres

resolver
System.Web.Http.Dependencies.IDependencyResolver

Retours

TService

S’applique à