Udostępnij za pośrednictwem


DependencyResolverExtensions.GetService<TService> Method

Definition

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

Type Parameters

TService

Parameters

resolver
System.Web.Http.Dependencies.IDependencyResolver

Returns

TService

Applies to