DependencyResolverExtensions.GetServices<TService> Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.