IDependencyResolver.GetServices Method

.NET Framework 4.5

Returns the services for the given type.

Namespace:  Microsoft.AspNet.SignalR
Assembly:  Microsoft.AspNet.SignalR.Core (in Microsoft.AspNet.SignalR.Core.dll)

Syntax

'Declaration
Function GetServices ( _
    serviceType As Type _
) As IEnumerable(Of Object)
'Usage
Dim instance As IDependencyResolver 
Dim serviceType As Type 
Dim returnValue As IEnumerable(Of Object)

returnValue = instance.GetServices(serviceType)
IEnumerable<Object> GetServices(
    Type serviceType
)
IEnumerable<Object^>^ GetServices(
    Type^ serviceType
)
abstract GetServices : 
        serviceType:Type -> IEnumerable<Object> 
function GetServices(
    serviceType : Type
) : IEnumerable<Object>

Parameters

  • serviceType
    Type: System.Type
    The type of the service to return.

Return Value

Type: System.Collections.Generic.IEnumerable<Object>
The returned services.

See Also

Reference

IDependencyResolver Interface

Microsoft.AspNet.SignalR Namespace