Share via


DefaultDependencyResolver.GetService Method

.NET Framework 4

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

Syntax

'Declaration
Public Overridable Function GetService ( _
    serviceType As Type _
) As Object
'Usage
Dim instance As DefaultDependencyResolver 
Dim serviceType As Type 
Dim returnValue As Object 

returnValue = instance.GetService(serviceType)
public virtual Object GetService(
    Type serviceType
)
public:
virtual Object^ GetService(
    Type^ serviceType
)
abstract GetService : 
        serviceType:Type -> Object  
override GetService : 
        serviceType:Type -> Object
public function GetService(
    serviceType : Type
) : Object

Parameters

Return Value

Type: System.Object
Returns Object.

Implements

IDependencyResolver.GetService(Type)

See Also

Reference

DefaultDependencyResolver Class

Microsoft.AspNet.SignalR Namespace