DependencyResolverExtensions.GetServices<TService> Method

Definition

Resolves multiply registered services.

public static System.Collections.Generic.IEnumerable<TService> GetServices<TService> (this System.Web.Mvc.IDependencyResolver resolver);
static member GetServices : System.Web.Mvc.IDependencyResolver -> seq<'Service>
<Extension()>
Public Function GetServices(Of TService) (resolver As IDependencyResolver) As IEnumerable(Of TService)

Type Parameters

TService

The type of the requested services.

Parameters

resolver
IDependencyResolver

The dependency resolver instance that this method extends.

Returns

IEnumerable<TService>

The requested services.

Applies to