DependencyResolverExtensions::GetServices<TService> Method (IDependencyResolver^)

 

Resolves multiply registered services.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

public:
generic<typename TService>
[ExtensionAttribute]
static IEnumerable<TService>^ GetServices(
	IDependencyResolver^ resolver
)

Parameters

resolver
Type: System.Web.Mvc::IDependencyResolver^

The dependency resolver instance that this method extends.

Return Value

Type: System.Collections.Generic::IEnumerable<TService>^

The requested services.

Type Parameters

TService

The type of the requested services.

For more information about this method, see the entry ASP.NET MVC 3 Service Location on Brad Wilson's blog.

Return to top
Show: